Abstract class for geometric object.
More...
#include <GeometricObject.h>
Inherited by GOLine, GOPlan, and GOVertex.
Abstract class for geometric object.
◆ GeometricObject() [1/2]
GeometricObject::GeometricObject |
( |
| ) |
|
◆ GeometricObject() [2/2]
GeometricObject::GeometricObject |
( |
TypeGO |
type | ) |
|
◆ ~GeometricObject()
GeometricObject::~GeometricObject |
( |
| ) |
|
|
virtual |
◆ distancePoint()
virtual double GeometricObject::distancePoint |
( |
const Coord & |
| ) |
const |
|
inlinevirtual |
Compute the distance between a vertex and the corresponding geometric object.
- Parameters
-
vertex | coordinates of the vertex |
Reimplemented in GOLine, GOPlan, and GOVertex.
◆ getType()
TypeGO GeometricObject::getType |
( |
| ) |
|
|
inline |
Return the type of the geometric object.
◆ projectionPoint()
virtual Coord GeometricObject::projectionPoint |
( |
const Coord & |
| ) |
const |
|
inlinevirtual |
Compute the projection between a vertex and the corresponding geometric object.
- Parameters
-
vertex | coordinates of the vertex |
Reimplemented in GOLine, GOPlan, and GOVertex.
◆ m_type
TypeGO GeometricObject::m_type |
|
protected |
The documentation for this class was generated from the following files: