Jet  v1.3.3
Public Member Functions | List of all members
jet::Plane2::Builder Class Referencefinal

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

#include <jet/plane2.h>

Inheritance diagram for jet::Plane2::Builder:
jet::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 jet::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 jet::SurfaceBuilderBase2< Plane2::Builder >
bool _isNormalFlipped
 
Transform2 _transform
 

Detailed Description

Front-end to create Plane2 objects step by step.

Member Function Documentation

◆ build()

Plane2 jet::Plane2::Builder::build ( ) const

Builds Plane2.

◆ makeShared()

Plane2Ptr jet::Plane2::Builder::makeShared ( ) const

Builds shared pointer of Plane2 instance.

◆ withNormal()

Builder& jet::Plane2::Builder::withNormal ( const Vector2D normal)

Returns builder with plane normal.

◆ withPoint()

Builder& jet::Plane2::Builder::withPoint ( const Vector2D point)

Returns builder with point on the plane.


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