![]() |
ECOGEN 4.0
Evolutive, Compressible, Open, Genuine, Easy, N-phase
|
Class for a line geometric object. More...
#include <GOLine.h>
Inherits GeometricObject.
Public Member Functions | |
GOLine (const Coord &vertex, const Coord &vecDir) | |
virtual | ~GOLine () |
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. | |
![]() | |
GeometricObject () | |
GeometricObject (TypeGO type) | |
virtual | ~GeometricObject () |
TypeGO | getType () |
Return the type of the geometric object. | |
Private Attributes | |
Coord | m_point |
Coord | m_vecDir |
Point from the line. | |
Additional Inherited Members | |
![]() | |
TypeGO | m_type |
Class for a line geometric object.
|
virtual |
|
virtual |
Compute the distance between a vertex and the corresponding geometric object.
vertex | coordinates of the vertex |
Reimplemented from GeometricObject.
Compute the projection between a vertex and the corresponding geometric object.
vertex | coordinates of the vertex |
Reimplemented from GeometricObject.
|
private |
|
private |
Point from the line.