Cadcorp SIS API Methods

CreateGreatCircleLine Method

Description

Creates a great circle line.

Syntax

Visual Basic
Public Function CreateGreatCircleLine( _
   ByVal x1 As Double, _
   ByVal y1 As Double, _
   ByVal z1 As Double, _
   ByVal x2 As Double, _
   ByVal y2 As Double, _
   ByVal z2 As Double, _
   ByVal distance As Double, _
   ByVal datum As String _
) As Integer

Parameters

x1
The x coordinate of the start point of the line.
 
y1
The y coordinate of the start point of the line.
 
z1
The z coordinate of the start point of the line.
 
x2
The x coordinate of the end point of the line.
 
y2
The y coordinate of the end point of the line.
 
z2
The z coordinate of the end point of the line.
 
distance
The length of individual segments along the line.
 
datum
The named datum to be used, e.g. WGS84

Remarks

Available: GEO MD ME OD SISpy

Group:

Example

sis.CreateGreatCircleLine (25.2, 45.3, 58.2, 44.7, 10000, WGS84)

Creates a great circle line between specified start and end points, placing a node every 10 000m, using the WGS84 datum.


Send comments on this topic.

Click to return to www.cadcorp.com

© Copyright 2000-2017 Computer Aided Development Corporation Limited (Cadcorp).