ENCX SDK  5.5.0.370
Public Member Functions | Properties | List of all members
ENCX::GeoLine Class Reference

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

import"encxcom.idl";

Inheritance diagram for ENCX::GeoLine:
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

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

Properties and methods via IGeoLine.

Definition at line 4034 of file encxcom.idl.

Member Function Documentation

◆ CreateFromBearingAndLength()

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

Construct line from length and bearing.

◆ SetPoint1()

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

Setting the position of one end of the line.

◆ SetPoint2()

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

Setting the position of the other end of the line.

Property Documentation

◆ BearingEnd

DOUBLE IGeoLine::BearingEnd
getinherited

Bearing at end of line.

◆ BearingStart

DOUBLE IGeoLine::BearingStart
getinherited

Bearing at start.

◆ LengthInMetres

DOUBLE IGeoLine::LengthInMetres
getinherited

Length in metres.

◆ LineType

GeoLineType IGeoLine::LineType
getsetinherited

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

◆ Point1

IGeoPoint IGeoLine::Point1
getsetinherited

One end of the line.

Setting the position of one end of the line.

◆ Point2

IGeoPoint IGeoLine::Point2
getsetinherited

The other end of the line.

Setting the position of the other end of the line.