Jet
v1.3.3
|
Front-end to create Box2 objects step by step. More...
#include <jet/box2.h>
Public Member Functions | |
Builder & | withLowerCorner (const Vector2D &pt) |
Returns builder with lower corner set. More... | |
Builder & | withUpperCorner (const Vector2D &pt) |
Returns builder with upper corner set. More... | |
Builder & | withBoundingBox (const BoundingBox2D &bbox) |
Returns builder with bounding box. More... | |
Box2 | build () const |
Builds Box2. More... | |
Box2Ptr | makeShared () const |
Builds shared pointer of Box2 instance. More... | |
![]() | |
Box2::Builder & | withIsNormalFlipped (bool isNormalFlipped) |
Returns builder with flipped normal flag. More... | |
Box2::Builder & | withTranslation (const Vector2D &translation) |
Returns builder with translation. More... | |
Box2::Builder & | withOrientation (double orientation) |
Returns builder with orientation. More... | |
Box2::Builder & | withTransform (const Transform2 &transform) |
Returns builder with transform. More... | |
Additional Inherited Members | |
![]() | |
bool | _isNormalFlipped |
Transform2 | _transform |
Front-end to create Box2 objects step by step.
Builder& jet::Box2::Builder::withBoundingBox | ( | const BoundingBox2D & | bbox | ) |
Returns builder with bounding box.
Returns builder with lower corner set.
Returns builder with upper corner set.