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

Additional Inherited Members

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