CubbyFlow::Cylinder3::Builder Class Referencefinal

Front-end to create Cylinder3 objects step by step. More...

#include <Core/Geometry/Cylinder3.hpp>

Inheritance diagram for CubbyFlow::Cylinder3::Builder:
CubbyFlow::SurfaceBuilderBase< N, DerivedBuilder >

Public Member Functions

BuilderWithCenter (const Vector3D &_center)
 Returns builder with center. More...
 
BuilderWithRadius (double _radius)
 Returns builder with radius. More...
 
BuilderWithHeight (double _height)
 Returns builder with height. More...
 
Cylinder3 Build () const
 Builds Cylinder3. More...
 
Cylinder3Ptr MakeShared () const
 Builds shared pointer of Cylinder3 instance. More...
 
- Public Member Functions inherited from CubbyFlow::SurfaceBuilderBase< N, DerivedBuilder >
DerivedBuilder & WithIsNormalFlipped (bool isNormalFlipped)
 Returns builder with flipped normal flag. More...
 
DerivedBuilder & WithTranslation (const Vector< double, N > &translation)
 Returns builder with translation. More...
 
DerivedBuilder & WithOrientation (const Orientation< N > &orientation)
 Returns builder with orientation. More...
 
DerivedBuilder & WithTransform (const Transform< N > &transform)
 Returns builder with transform. More...
 

Additional Inherited Members

- Protected Attributes inherited from CubbyFlow::SurfaceBuilderBase< N, DerivedBuilder >
bool m_isNormalFlipped = false
 
Transform< N > m_transform
 

Detailed Description

Front-end to create Cylinder3 objects step by step.

Member Function Documentation

◆ Build()

Cylinder3 CubbyFlow::Cylinder3::Builder::Build ( ) const

Builds Cylinder3.

◆ MakeShared()

Cylinder3Ptr CubbyFlow::Cylinder3::Builder::MakeShared ( ) const

Builds shared pointer of Cylinder3 instance.

◆ WithCenter()

Builder& CubbyFlow::Cylinder3::Builder::WithCenter ( const Vector3D _center)

Returns builder with center.

◆ WithHeight()

Builder& CubbyFlow::Cylinder3::Builder::WithHeight ( double  _height)

Returns builder with height.

◆ WithRadius()

Builder& CubbyFlow::Cylinder3::Builder::WithRadius ( double  _radius)

Returns builder with radius.


The documentation for this class was generated from the following file: