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

Abstract class for geometric object. More...

#include <GeometricObject.h>

Inherited by GOLine, GOPlan, and GOVertex.

Collaboration diagram for GeometricObject:
[legend]

Public Member Functions

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

Protected Attributes

TypeGO m_type
Coord m_point
 Type of the geometric object.

Detailed Description

Abstract class for geometric object.

Constructor & Destructor Documentation

◆ GeometricObject() [1/2]

GeometricObject::GeometricObject ( )
Here is the caller graph for this function:

◆ GeometricObject() [2/2]

GeometricObject::GeometricObject ( TypeGO type,
const Coord & vertex )

◆ ~GeometricObject()

GeometricObject::~GeometricObject ( )
virtual

Member Function Documentation

◆ distancePoint()

virtual double GeometricObject::distancePoint ( const Coord & ) const
inlinevirtual

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

Parameters
vertexcoordinates of the vertex

Reimplemented in GOLine, GOPlan, and GOVertex.

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

◆ getPoint()

const Coord & GeometricObject::getPoint ( ) const
inline

◆ getType()

TypeGO GeometricObject::getType ( )
inline

Return the type of the geometric object.

Here is the caller graph for this function:

◆ projectionPoint()

virtual Coord GeometricObject::projectionPoint ( const Coord & ) const
inlinevirtual

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

Parameters
vertexcoordinates of the vertex

Reimplemented in GOLine, GOPlan, and GOVertex.

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

◆ setPositionPoint()

virtual void GeometricObject::setPositionPoint ( double posX,
double posY,
double posZ )
inlinevirtual

Member Data Documentation

◆ m_point

Coord GeometricObject::m_point
protected

Type of the geometric object.

◆ m_type

TypeGO GeometricObject::m_type
protected

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