ECOGEN 6.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.

Collaboration diagram for GOPlan:
[legend]

Public Member Functions

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

Private Member Functions

void createBase ()
 Binormal vector of the plan.

Private Attributes

Coord m_normal
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
Coord m_point
 Type of the geometric object.

Detailed Description

Class for a plan geometric object.

Constructor & Destructor Documentation

◆ GOPlan()

GOPlan::GOPlan ( const Coord & vertex,
const Coord & normal )
Here is the call graph for this function:

◆ ~GOPlan()

GOPlan::~GOPlan ( )
override

Member Function Documentation

◆ createBase()

void GOPlan::createBase ( )
private

Binormal vector of the plan.

Create the plan base

Here is the call graph for this function:
Here is the caller graph for this function:

◆ distancePoint()

double GOPlan::distancePoint ( const Coord & ) const
overridevirtual

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

Parameters
vertexcoordinates of the vertex

Reimplemented from GeometricObject.

Here is the call graph for this function:

◆ projectionPoint()

Coord GOPlan::projectionPoint ( const Coord & ) const
overridevirtual

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

Parameters
vertexcoordinates of the vertex

Reimplemented from GeometricObject.

Here is the call graph for this function:

Member Data Documentation

◆ m_binormal

Coord GOPlan::m_binormal
private

Tangent vector of the plan.

◆ m_normal

Coord GOPlan::m_normal
private

◆ m_tangent

Coord GOPlan::m_tangent
private

Normal vector of the plan.


The documentation for this class was generated from the following files:
  • /home/runner/work/ECOGEN/ECOGEN/doc_sources/src/Maths/GOPlan.h
  • /home/runner/work/ECOGEN/ECOGEN/doc_sources/src/Maths/GOPlan.cpp