ECOGEN 4.0
Evolutive, Compressible, Open, Genuine, Easy, N-phase
Loading...
Searching...
No Matches
GOPlan Class Reference

Class for a plan geometric object. More...

#include <GOPlan.h>

Inherits GeometricObject.

Public Member Functions

 GOPlan (const Coord &vertex, const Coord &normal)
 
virtual ~GOPlan ()
 
virtual double distancePoint (const Coord &vertex) const
 Compute the distance between a vertex and the corresponding geometric object.
 
virtual Coord projectionPoint (const Coord &vertex) const
 Compute the projection between a vertex and the corresponding geometric object.
 
- Public Member Functions inherited from GeometricObject
 GeometricObject ()
 
 GeometricObject (TypeGO type)
 
virtual ~GeometricObject ()
 
TypeGO getType ()
 Return the type of the geometric object.
 

Private Member Functions

void createBase ()
 Binormal vector of the plan.
 

Private Attributes

Coord m_point
 
Coord m_normal
 Point from the plan.
 
Coord m_tangent
 Normal vector of the plan.
 
Coord m_binormal
 Tangent vector of the plan.
 

Additional Inherited Members

- Protected Attributes inherited from GeometricObject
TypeGO m_type
 

Detailed Description

Class for a plan geometric object.

Constructor & Destructor Documentation

◆ GOPlan()

GOPlan::GOPlan ( const Coord vertex,
const Coord normal 
)

◆ ~GOPlan()

GOPlan::~GOPlan ( )
virtual

Member Function Documentation

◆ createBase()

void GOPlan::createBase ( )
private

Binormal vector of the plan.

Create the plan base

◆ distancePoint()

double GOPlan::distancePoint ( const Coord ) const
virtual

Compute the distance between a vertex and the corresponding geometric object.

Parameters
vertexcoordinates of the vertex

Reimplemented from GeometricObject.

◆ projectionPoint()

Coord GOPlan::projectionPoint ( const Coord ) const
virtual

Compute the projection between a vertex and the corresponding geometric object.

Parameters
vertexcoordinates of the vertex

Reimplemented from GeometricObject.

Member Data Documentation

◆ m_binormal

Coord GOPlan::m_binormal
private

Tangent vector of the plan.

◆ m_normal

Coord GOPlan::m_normal
private

Point from the plan.

◆ m_point

Coord GOPlan::m_point
private

◆ m_tangent

Coord GOPlan::m_tangent
private

Normal vector of the plan.


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