ENCX::GeoLine Class Reference

A line of a specified shape between two points on the Earth's surface. More...

import "_encxcom_encx.idl";

Inheritance diagram for ENCX::GeoLine:

List of all members.

Public Member Functions

HRESULT SetPoint1 ([in] DOUBLE LatGeodeticDegrees,[in] DOUBLE LonDegrees)
 Setting the position of one end of the line.
HRESULT SetPoint2 ([in] DOUBLE LatGeodeticDegrees,[in] DOUBLE LonDegrees)
 Setting the position of the other end of the line.
HRESULT CreateFromBearingAndLength ([in] enum GeoLineType lineType,[in] IGeoPoint *start,[in] DOUBLE bearing,[in] DOUBLE lengthInMeters)
 Construct line from length and bearing.

Properties

IGeoPoint ** Point1 [get]
 One end of the line.
IGeoPointPoint1 [set]
 Setting the position of one end of the line.
IGeoPoint ** Point2 [get]
 The other end of the line.
IGeoPointPoint2 [set]
 Setting the position of the other end of the line.
GeoLineTypeLineType [get]
 The shape of the path to be used between the ends.
GeoLineType LineType [set]
 The shape of the path to be used between the ends.
DOUBLE * LengthInMetres [get]
 Length in metres.
DOUBLE * BearingStart [get]
 Bearing at start.
DOUBLE * BearingEnd [get]
 Bearing at end of line.


Detailed Description

A line of a specified shape between two points on the Earth's surface.

Properties and methods via IGeoLine.

Definition at line 3191 of file _encxcom_encx.idl.


Member Function Documentation

HRESULT IGeoLine::SetPoint1 ( [in] DOUBLE  LatGeodeticDegrees,
[in] DOUBLE  LonDegrees 
) [inherited]

Setting the position of one end of the line.

HRESULT IGeoLine::SetPoint2 ( [in] DOUBLE  LatGeodeticDegrees,
[in] DOUBLE  LonDegrees 
) [inherited]

Setting the position of the other end of the line.

HRESULT IGeoLine::CreateFromBearingAndLength ( [in] enum GeoLineType  lineType,
[in] IGeoPoint start,
[in] DOUBLE  bearing,
[in] DOUBLE  lengthInMeters 
) [inherited]

Construct line from length and bearing.


Property Documentation

IGeoPoint ** IGeoLine::Point1 [get, inherited]

One end of the line.

IGeoPoint * IGeoLine::Point1 [set, inherited]

Setting the position of one end of the line.

IGeoPoint ** IGeoLine::Point2 [get, inherited]

The other end of the line.

IGeoPoint * IGeoLine::Point2 [set, inherited]

Setting the position of the other end of the line.

GeoLineType* IGeoLine::LineType [get, inherited]

The shape of the path to be used between the ends.

GeoLineType IGeoLine::LineType [set, inherited]

The shape of the path to be used between the ends.

DOUBLE* IGeoLine::LengthInMetres [get, inherited]

Length in metres.

DOUBLE* IGeoLine::BearingStart [get, inherited]

Bearing at start.

DOUBLE* IGeoLine::BearingEnd [get, inherited]

Bearing at end of line.