# FdoIDirectPosition Class Reference

`#include <IDirectPosition.h>`

Inheritance diagram for FdoIDirectPosition:

[legend]

List of all members.

## Detailed Description

The FdoIDirectPosition class is a direct position object. FdoIDirectPosition is a simple coordinate position in any allowed dimension. The actual object may have several implementations, depending on the dimension and other factors. This is a lightweight helper type for Geometries in the Geometry package.

Note:
  It does not derive from IGeometry.

Definition at line 39 of file IDirectPosition.h.

## Public Member Functions
virtual FDO_GEOM_API FdoInt32 | GetDimensionality () const =0
| Gets the dimensionality of ordinates in this position.
virtual FDO_GEOM_API double | GetM () const =0
| Gets the M ordinate.
virtual FDO_GEOM_API const double * | GetOrdinates ()=0
| Gets the ordinates as an array.
virtual FDO_GEOM_API double | GetX () const =0
| Gets the X ordinate.
virtual FDO_GEOM_API double | GetY () const =0
| Gets the Y ordinate.
virtual FDO_GEOM_API double | GetZ () const =0
| Gets the Z ordinate.
## Protected Member Functions
FDO_GEOM_API | FdoIDirectPosition ()
| Constructs a default instance.
virtual FDO_GEOM_API | ~FdoIDirectPosition ()
| Default destructor.

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

- IDirectPosition.h