CubbyFlow::Plane2::Builder Class Referencefinal

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

#include <Core/Geometry/Plane2.h>

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

Public Member Functions

BuilderWithNormal (const Vector2D &normal)
 Returns builder with plane normal. More...
 
BuilderWithPoint (const Vector2D &point)
 Returns builder with point on the plane. More...
 
Plane2 Build () const
 Builds Plane2. More...
 
Plane2Ptr MakeShared () const
 Builds shared pointer of Plane2 instance. More...
 
- Public Member Functions inherited from CubbyFlow::SurfaceBuilderBase2< Plane2::Builder >
Plane2::BuilderWithIsNormalFlipped (bool isNormalFlipped)
 Returns builder with flipped normal flag. More...
 
Plane2::BuilderWithTranslation (const Vector2D &translation)
 Returns builder with translation. More...
 
Plane2::BuilderWithOrientation (double orientation)
 Returns builder with orientation. More...
 
Plane2::BuilderWithTransform (const Transform2 &transform)
 Returns builder with transform. More...
 

Additional Inherited Members

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

Detailed Description

Front-end to create Plane2 objects step by step.

Member Function Documentation

◆ Build()

Plane2 CubbyFlow::Plane2::Builder::Build ( ) const

Builds Plane2.

◆ MakeShared()

Plane2Ptr CubbyFlow::Plane2::Builder::MakeShared ( ) const

Builds shared pointer of Plane2 instance.

◆ WithNormal()

Builder& CubbyFlow::Plane2::Builder::WithNormal ( const Vector2D normal)

Returns builder with plane normal.

◆ WithPoint()

Builder& CubbyFlow::Plane2::Builder::WithPoint ( const Vector2D point)

Returns builder with point on the plane.


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