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

Class for a line geometric object. More...

#include <GOLine.h>

Inherits GeometricObject.

Collaboration diagram for GOLine:
[legend]

Public Member Functions

 GOLine (const Coord &vertex, const Coord &vecDir)
 ~GOLine () 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 Attributes

Coord m_vecDir

Additional Inherited Members

Protected Attributes inherited from GeometricObject
TypeGO m_type
Coord m_point
 Type of the geometric object.

Detailed Description

Class for a line geometric object.

Constructor & Destructor Documentation

◆ GOLine()

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

◆ ~GOLine()

GOLine::~GOLine ( )
override

Member Function Documentation

◆ distancePoint()

double GOLine::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 GOLine::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_vecDir

Coord GOLine::m_vecDir
private

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