ENCX SDK  5.5.0.370
Public Member Functions | Properties | List of all members
IGeoLine Interface Reference

Properties and methods for ENCX::GeoLine. More...

import"encxcom.idl";

Inheritance diagram for IGeoLine:
Inheritance graph
[legend]

Public Member Functions

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

Properties

IGeoPoint Point1 [get, set]
 One end of the line. More...
 
IGeoPoint Point2 [get, set]
 The other end of the line. More...
 
GeoLineType LineType [get, set]
 The shape of the path to be used between the ends. More...
 
DOUBLE LengthInMetres [get]
 Length in metres. More...
 
DOUBLE BearingStart [get]
 Bearing at start. More...
 
DOUBLE BearingEnd [get]
 Bearing at end of line. More...
 

Detailed Description

Properties and methods for ENCX::GeoLine.

All positions are WGS84.

Definition at line 553 of file encxcom.idl.

Member Function Documentation

◆ CreateFromBearingAndLength()

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

Construct line from length and bearing.

◆ SetPoint1()

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

Setting the position of one end of the line.

◆ SetPoint2()

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

Setting the position of the other end of the line.

Property Documentation

◆ BearingEnd

DOUBLE IGeoLine::BearingEnd
get

Bearing at end of line.

◆ BearingStart

DOUBLE IGeoLine::BearingStart
get

Bearing at start.

◆ LengthInMetres

DOUBLE IGeoLine::LengthInMetres
get

Length in metres.

◆ LineType

GeoLineType IGeoLine::LineType
getset

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

◆ Point1

IGeoPoint IGeoLine::Point1
getset

One end of the line.

Setting the position of one end of the line.

◆ Point2

IGeoPoint IGeoLine::Point2
getset

The other end of the line.

Setting the position of the other end of the line.