The Alignment type exposes the following members.

Methods

  NameDescription
Public methodCopyToSite(ObjectId)
Copies the Alignment to a specified Site. Specifying ObjectId.Null to copy it to siteless. Calling this method copies all children profiles, profile views and sample line group with this alignment as well.
Public methodCopyToSite(String)
Copies the Alignment to a specified Site. Specifying "" to move it to siteless. Calling this method copies all children profiles, profile views and sample line group with this alignment as well.
Public methodStatic memberCreate(CivilDocument, String, ObjectId, ObjectId, ObjectId, ObjectId)
Creates an Alignment without geometry information.
Public methodStatic memberCreate(CivilDocument, String, String, String, String, String)
Creates an Alignment without geometry information.
Public methodStatic memberCreate(CivilDocument, PolylineOptions, String, ObjectId, ObjectId, ObjectId, ObjectId)
Creates an Alignment from the specified Polyline, Polyline2d or Polyline3d.
Public methodStatic memberCreate(CivilDocument, PolylineOptions, String, String, String, String, String)
Creates an Alignment from the specified Polyline, Polyline2d or Polyline3d.
Public methodStatic memberCreate(CorridorFeatureLine, String, ObjectId, ObjectId, ObjectId, ObjectId, AlignmentType)
Creates an Alignment from the specified CorridorFeatureLine.
Public methodCreateOffsetAlignment(Double) Obsolete.
Creates an offset Alignment from the current alignment, returns the offset Alignment ObjectId. A positive value to create an offset alignment to the right side and negative to the left side.
Public methodStatic memberCreateOffsetAlignment(String, ObjectId, Double, ObjectId)
Creates an offset Alignment from the specified alignment object Id, returns the object Id of the offset alignment.
Public methodStatic memberCreateOffsetAlignment(Database, String, String, Double, String)
Creates an offset Alignment from the specified alignment name, returns the object Id of the offset alignment.
Public methodDistanceToAlignment(Double, Alignment, Double%, Double%)
Computes the distance to another Alignment. If the target Alignment crosses the current Alignment, this method checks the distance to the target Alignment on both sides, and returns the shorter distance.
Public methodDistanceToAlignment(Double, Alignment, AlignmentSide, Double%, Double%)
Computes the distance to another Alignment, specifying the side of current Alignment to look for the target Alignment.
Public methodGetAlignmentLabelGroupIds
Gets the ObjectIdCollection of the Alignment's label group.
Public methodGetAlignmentLabelIds
Gets the ObjectIdCollection of the Alignment's labels.
Public methodGetChildOffsetAlignmentIds()()()()
Gets the objectId collection of all child offset alignments, whose parent is this alignment instance.
Public methodGetChildOffsetAlignmentIds(Boolean)
Gets the objectId collection of all child offset alignments, whose parent is this alignment instance.
Public methodGetCrossSlopeAtStation
Gets the cross slope value at the specified station for the indicated segment type.
Public methodGetInstantaneousRadius
Returns the instantaneous radius at the specified station.
Public methodGetLabelGroupIds Obsolete.
Gets the ObjectIdCollection of the Alignment's label group.
Public methodGetLabelIds Obsolete.
Gets the ObjectIdCollection of the Alignment's labels.
Public methodStatic memberGetNextUniqueName
Gets a string indicating a unique name for the Alignment. The input string could be a name template.
Public methodGetPolyline
Gets a polyline from the Alignment geometry.
Public methodGetProfileIds
Gets the ObjectIdCollection of all profiles belonging to this Alignment.
Public methodGetProfileViewIds
Gets the ObjectIdCollection of all profile views belonging to this Alignment.
Public methodGetRegions Obsolete.
Gets the regions, which are included in offset alignment or curb return.
Public methodGetSampleLineGroupIds
Gets the ObjectIdCollection of all sample line groups belonging to this Alignment.
Public methodGetStationSet(StationTypes)
Gets the station set according to the StationType.
Public methodGetStationSet(StationTypes, Double)
Gets the station set according to the StationType and interval.
Public methodGetStationSet(StationTypes, Double, Double)
Gets the station set according to the StationType and intervals.
Public methodGetStationStringWithEquations
Gets a string indicating the station of an Alignment using the Station equations.
Public methodImportLabelSet(ObjectId)
Takes the contents of the AlignmentLabelSetStyle template and copies its data into the database object.
Public methodImportLabelSet(String)
Takes the contents of the AlignmentLabelSetStyle template and copies its data into the Database object.
Public methodPointLocation(Double, Double, Double%, Double%)
Returns the easting and northing of a point on an Alignment given a station and an offset for the Alignment.
Public methodPointLocation(Double, Double, Double, Double%, Double%, Double%)
Given station and offset values, returns the easting, northing, and bearing values at that point on the Alignment.
Public methodReverse
Reverse the Alignment direction.
Public methodStationOffset(Double, Double, Double%, Double%)
Returns the station and offset on an Alignment at given easting and northing values.
Public methodStationOffset(Double, Double, Double, Double%, Double%)
Returns the nearest station and offset on an Alignment at given easting, northing and tolerance values.
Public methodUpdate
Updates the OffsetAlignmentInfo for an offset alignment object.

See Also