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