CubbyFlow::Box< N >::Builder Class Referencefinal

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

#include <Core/Geometry/Box.hpp>

Inheritance diagram for CubbyFlow::Box< N >::Builder:
CubbyFlow::SurfaceBuilderBase< N, Box< N >::Builder >

Public Member Functions

BuilderWithLowerCorner (const Vector< double, N > &pt)
 Returns builder with lower corner set. More...
 
BuilderWithUpperCorner (const Vector< double, N > &pt)
 Returns builder with upper corner set. More...
 
BuilderWithBoundingBox (const BoundingBox< double, N > &bbox)
 Returns builder with bounding box. More...
 
Box Build () const
 Builds Box. More...
 
std::shared_ptr< Box< N > > MakeShared () const
 Builds shared pointer of Box instance. More...
 
- Public Member Functions inherited from CubbyFlow::SurfaceBuilderBase< N, Box< N >::Builder >
Box< N >::Builder & WithIsNormalFlipped (bool isNormalFlipped)
 Returns builder with flipped normal flag. More...
 
Box< N >::Builder & WithTranslation (const Vector< double, N > &translation)
 Returns builder with translation. More...
 
Box< N >::Builder & WithOrientation (const Orientation< N > &orientation)
 Returns builder with orientation. More...
 
Box< N >::Builder & WithTransform (const Transform< N > &transform)
 Returns builder with transform. More...
 

Additional Inherited Members

- Protected Attributes inherited from CubbyFlow::SurfaceBuilderBase< N, Box< N >::Builder >
bool m_isNormalFlipped
 
Transform< N > m_transform
 

Detailed Description

template<size_t N>
class CubbyFlow::Box< N >::Builder

Front-end to create Box objects step by step.

Member Function Documentation

◆ Build()

template<size_t N>
Box CubbyFlow::Box< N >::Builder::Build ( ) const

Builds Box.

◆ MakeShared()

template<size_t N>
std::shared_ptr<Box<N> > CubbyFlow::Box< N >::Builder::MakeShared ( ) const

Builds shared pointer of Box instance.

◆ WithBoundingBox()

template<size_t N>
Builder& CubbyFlow::Box< N >::Builder::WithBoundingBox ( const BoundingBox< double, N > &  bbox)

Returns builder with bounding box.

◆ WithLowerCorner()

template<size_t N>
Builder& CubbyFlow::Box< N >::Builder::WithLowerCorner ( const Vector< double, N > &  pt)

Returns builder with lower corner set.

◆ WithUpperCorner()

template<size_t N>
Builder& CubbyFlow::Box< N >::Builder::WithUpperCorner ( const Vector< double, N > &  pt)

Returns builder with upper corner set.


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