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