CubbyFlow::Sphere2::Builder Class Referencefinal

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

#include <Core/Geometry/Sphere2.h>

Inheritance diagram for CubbyFlow::Sphere2::Builder:
CubbyFlow::SurfaceBuilderBase2< Sphere2::Builder >

Public Member Functions

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

Additional Inherited Members

- Protected Attributes inherited from CubbyFlow::SurfaceBuilderBase2< Sphere2::Builder >
bool m_isNormalFlipped
 
Transform2 m_transform
 

Detailed Description

Front-end to create Sphere2 objects step by step.

Member Function Documentation

◆ Build()

Sphere2 CubbyFlow::Sphere2::Builder::Build ( ) const

Builds Sphere2.

◆ MakeShared()

Sphere2Ptr CubbyFlow::Sphere2::Builder::MakeShared ( ) const

Builds shared pointer of Sphere2 instance.

◆ WithCenter()

Builder& CubbyFlow::Sphere2::Builder::WithCenter ( const Vector2D center)

Returns builder with sphere center.

◆ WithRadius()

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

Returns builder with sphere radius.


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