Loading...
Searching...
No Matches
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:
CubbyFlow::SurfaceBuilderBase< N, Plane< N >::Builder >

Public Member Functions

BuilderWithNormal (const Vector< double, N > &_normal)
 Returns builder with plane normal.
 
BuilderWithPoint (const Vector< double, N > &_point)
 Returns builder with point on the plane.
 
Plane Build () const
 Builds Plane.
 
std::shared_ptr< Plane< N > > MakeShared () const
 Builds shared pointer of Plane instance.
 
- Public Member Functions inherited from CubbyFlow::SurfaceBuilderBase< N, Plane< N >::Builder >
Plane< N >::Builder & WithIsNormalFlipped (bool isNormalFlipped)
 Returns builder with flipped normal flag.
 
Plane< N >::Builder & WithTranslation (const Vector< double, N > &translation)
 Returns builder with translation.
 
Plane< N >::Builder & WithOrientation (const Orientation< N > &orientation)
 Returns builder with orientation.
 
Plane< N >::Builder & WithTransform (const Transform< N > &transform)
 Returns builder with transform.
 

Additional Inherited Members

- Protected Attributes inherited from CubbyFlow::SurfaceBuilderBase< N, Plane< N >::Builder >
bool m_isNormalFlipped
 
Transform< Nm_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: