CubbyFlow::Plane2::Builder Class Referencefinal
Front-end to create Plane2 objects step by step. More...
#include <Core/Geometry/Plane2.h>
Inheritance diagram for CubbyFlow::Plane2::Builder:
Public Member Functions | |
Builder & | WithNormal (const Vector2D &normal) |
Returns builder with plane normal. More... | |
Builder & | WithPoint (const Vector2D &point) |
Returns builder with point on the plane. More... | |
Plane2 | Build () const |
Builds Plane2. More... | |
Plane2Ptr | MakeShared () const |
Builds shared pointer of Plane2 instance. More... | |
Public Member Functions inherited from CubbyFlow::SurfaceBuilderBase2< Plane2::Builder > | |
Plane2::Builder & | WithIsNormalFlipped (bool isNormalFlipped) |
Returns builder with flipped normal flag. More... | |
Plane2::Builder & | WithTranslation (const Vector2D &translation) |
Returns builder with translation. More... | |
Plane2::Builder & | WithOrientation (double orientation) |
Returns builder with orientation. More... | |
Plane2::Builder & | WithTransform (const Transform2 &transform) |
Returns builder with transform. More... | |
Additional Inherited Members | |
Protected Attributes inherited from CubbyFlow::SurfaceBuilderBase2< Plane2::Builder > | |
bool | m_isNormalFlipped |
Transform2 | m_transform |
Detailed Description
Front-end to create Plane2 objects step by step.
Member Function Documentation
◆ Build()
◆ MakeShared()
Plane2Ptr CubbyFlow::Plane2::Builder::MakeShared | ( | ) | const |
Builds shared pointer of Plane2 instance.
◆ WithNormal()
Returns builder with plane normal.
◆ WithPoint()
Returns builder with point on the plane.
The documentation for this class was generated from the following file:
- Core/Geometry/Plane2.h