All Cadcorp SIS API Methods

GetGeomTgtFromLength Method

Description

Gets the tangent vector at a specified length along the geometry of the current open Item.

Syntax

Visual Basic
Public Function GetGeomTgtFromLength( _
   ByVal nGeom As Long, _
   ByVal arclen As Double _
) As String

Parameters

nGeom
The index of the geometry component, starting at 0. Use GetNumGeom to get the number of geometry components in an Item.
arclen
The length along the geometry of the current open Item.

Return Type

A comma-delimited string containing the x, y and z components of the tangent vector. Use SplitPos to get the x, y and z values themselves.

Remarks

Available: GEO D OD OM SISpy

Group:

Example

sis.GetGeomTgtFromLength(0, -1.0)

Evaluates the tangent vector at the start of a single piece of geometry.