AddSpiral Method |
Appends a spiral to the alignment.
Signature
RetVal = object.AddSpiral(StartEasting, StartNorthing, PiEasting, PiNorthing, EndEasting, EndNorthing, LExt, LOffset, SpiralType1)
object
Alignment The object or objects this property applies to.
StartEasting
Double; input-only
The Easting coordinate for the beginning of the spiral.
StartNorthing
Double; input-only
The Northing coordinate for the beginning of the spiral.
PiEasting
Double; input-only
The Easting coordinate for the PI of the spiral.
PiNorthing
Double; input-only
The Northing coordinate for the PI of the spiral.
EndEasting
Double; input-only
The Easting coordinate for the end of the spiral.
EndNorthing
Double; input-only
The Northing coordinate for the end of the spiral.
LExt
Double; input-only
The external length of the spiral. 0.0 for a simple spiral.
LOffset
Double; input-only
The offset distance. 0.0 for non-offset spirals.
SpiralType1
eAeccSpiralType enum; input-only
kClothoid: |
Clothoid spiral |
kSinusoid: |
Sinusoid spiral |
kCosinusoid: |
Cosinusoid spiral |
kQuadratic: |
Quadratic spiral |
RetVal
AlignSpiral object
The newly added AlignSpiral object.
Remarks
A check will be made to see if the beginning of the new spiral 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 spiral will not be added.
No check will be made to see if the new spiral is tangent to the previous entity.
Lext represents the length from the TS to the External Point in a compound spiral condition.