# FdoILineStringSegment Class Reference

`#include <ILineStringSegment.h>`

Inheritance diagram for FdoILineStringSegment:

[legend]

List of all members.

## Detailed Description

The FdoILineStringSegment class is a LineString curve segment type. The shape of FdoILineStringSegment is the set of positions defined by the contained collection, plus linear interpolation between consecutive points. This is a helper type for Geometries in the Geometry package.

Note:
  It does not derive from IGeometry.

Definition at line 37 of file ILineStringSegment.h.

## Public Member Functions
virtual FDO_GEOM_API FdoInt32 | GetCount () const =0
| Gets the number of positions in this object.
virtual FDO_GEOM_API FdoIDirectPosition * | GetItem (FdoInt32 index) const =0
| Gets the position at the specified (zero-based) index.
virtual FDO_GEOM_API const double * | GetOrdinates ()=0
| Gets the ordinates as an array.
virtual FDO_GEOM_API FdoDirectPositionCollection * | GetPositions ()=0
| Gets a collection of all of the positions in this object.
## Protected Member Functions
FDO_GEOM_API | FdoILineStringSegment ()
| Constructs a default instance.
virtual FDO_GEOM_API | ~FdoILineStringSegment ()
| Default destructor.

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

- ILineStringSegment.h