CubbyFlow::Sphere3::Builder Class Referencefinal

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

#include <Core/Geometry/Sphere3.h>

Inheritance diagram for CubbyFlow::Sphere3::Builder:
CubbyFlow::SurfaceBuilderBase3< Sphere3::Builder >

Public Member Functions

BuilderWithCenter (const Vector3D &center)
 Returns builder with sphere center. More...
 
BuilderWithRadius (double radius)
 Returns builder with sphere radius. More...
 
Sphere3 Build () const
 Builds Sphere3. More...
 
Sphere3Ptr MakeShared () const
 Builds shared pointer of Sphere3 instance. More...
 
- Public Member Functions inherited from CubbyFlow::SurfaceBuilderBase3< Sphere3::Builder >
Sphere3::BuilderWithIsNormalFlipped (bool isNormalFlipped)
 Returns builder with flipped normal flag. More...
 
Sphere3::BuilderWithTranslation (const Vector3D &translation)
 Returns builder with translation. More...
 
Sphere3::BuilderWithOrientation (const QuaternionD &orientation)
 Returns builder with orientation. More...
 
Sphere3::BuilderWithTransform (const Transform3 &transform)
 Returns builder with transform. More...
 

Additional Inherited Members

- Protected Attributes inherited from CubbyFlow::SurfaceBuilderBase3< Sphere3::Builder >
bool m_isNormalFlipped
 
Transform3 m_transform
 

Detailed Description

Front-end to create Sphere3 objects step by step.

Member Function Documentation

◆ Build()

Sphere3 CubbyFlow::Sphere3::Builder::Build ( ) const

Builds Sphere3.

◆ MakeShared()

Sphere3Ptr CubbyFlow::Sphere3::Builder::MakeShared ( ) const

Builds shared pointer of Sphere3 instance.

◆ WithCenter()

Builder& CubbyFlow::Sphere3::Builder::WithCenter ( const Vector3D center)

Returns builder with sphere center.

◆ WithRadius()

Builder& CubbyFlow::Sphere3::Builder::WithRadius ( double  radius)

Returns builder with sphere radius.


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