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

Class for a vertex geometric object. More...

#include <GOVertex.h>

Inherits GeometricObject.

Public Member Functions

 GOVertex (const Coord &vertex)
 
virtual ~GOVertex ()
 
virtual double distancePoint (const Coord &vertex) const
 Compute the distance between a vertex and the corresponding geometric object.
 
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 Attributes

Coord m_point
 

Additional Inherited Members

- Protected Attributes inherited from GeometricObject
TypeGO m_type
 

Detailed Description

Class for a vertex geometric object.

Constructor & Destructor Documentation

◆ GOVertex()

GOVertex::GOVertex ( const Coord vertex)

◆ ~GOVertex()

GOVertex::~GOVertex ( )
virtual

Member Function Documentation

◆ distancePoint()

double GOVertex::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 GOVertex::projectionPoint ( const Coord ) const
inlinevirtual

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

Parameters
vertexcoordinates of the vertex

Reimplemented from GeometricObject.

Member Data Documentation

◆ m_point

Coord GOVertex::m_point
private

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