Sphere3.h
Go to the documentation of this file.
std::shared_ptr< Sphere3 > Sphere3Ptr
Shared pointer for the Sphere3 type.
Definition: Sphere3.h:66
Sphere3(const Transform3 &transform=Transform3(), bool isNormalFlipped=false)
Constructs a sphere with center at (0, 0, 0) and radius of 1.
Structure that represents ray-surface intersection point.
Definition: Surface3.h:23
Definition: pybind11Utils.h:24
Transform3 transform
Local-to-world transform.
Definition: Surface3.h:36
bool isNormalFlipped
Flips normal when calling Surface3::closestNormal(...).
Definition: Surface3.h:39
Builder & WithCenter(const Vector3D ¢er)
Returns builder with sphere center.
Builder & WithRadius(double radius)
Returns builder with sphere radius.
Sphere3Ptr MakeShared() const
Builds shared pointer of Sphere3 instance.
Front-end to create Sphere3 objects step by step.
Definition: Sphere3.h:71