AddTangent Method

Land Auto

AddTangent Method

Appends a tangent to the alignment.

See Also | Example

Signature

RetVal = object.AddTangent(StartEasting, StartNorthing, EndEasting, EndNorthing)

object

Alignment The object or objects this property applies to.

StartEasting

Double; input-only
The Easting coordinate for the beginning of the tangent.

StartNorthing

Double; input-only
The Northing coordinate for the beginning of the tangent.

EndEasting

Double; input-only
The Easting coordinate for the end of the tangent.

EndNorthing

Double; input-only
The Northing coordinate for the end of the tangent.

RetVal

AlignTangent object
The newly added AlignTangent object.

Remarks

A check will be made to see if the beginning of the new tangent is equal to the end of the previous entity. If the two are not equal, an error (AECC_E_ALN_INVALID_ENDPOINT) will be generated and the tangent will not be added.