Jet
v1.3.3
|
Front-end to create Sphere2 objects step by step. More...
#include <jet/sphere2.h>
Public Member Functions | |
Builder & | withCenter (const Vector2D ¢er) |
Returns builder with sphere center. More... | |
Builder & | withRadius (double radius) |
Returns builder with sphere radius. More... | |
Sphere2 | build () const |
Builds Sphere2. More... | |
Sphere2Ptr | makeShared () const |
Builds shared pointer of Sphere2 instance. More... | |
![]() | |
Sphere2::Builder & | withIsNormalFlipped (bool isNormalFlipped) |
Returns builder with flipped normal flag. More... | |
Sphere2::Builder & | withTranslation (const Vector2D &translation) |
Returns builder with translation. More... | |
Sphere2::Builder & | withOrientation (double orientation) |
Returns builder with orientation. More... | |
Sphere2::Builder & | withTransform (const Transform2 &transform) |
Returns builder with transform. More... | |
Additional Inherited Members | |
![]() | |
bool | _isNormalFlipped |
Transform2 | _transform |
Front-end to create Sphere2 objects step by step.
Sphere2Ptr jet::Sphere2::Builder::makeShared | ( | ) | const |
Builds shared pointer of Sphere2 instance.
Returns builder with sphere center.
Builder& jet::Sphere2::Builder::withRadius | ( | double | radius | ) |
Returns builder with sphere radius.