AlignmentEntityCollection Class

The AlignmentEntity collection class. This class represents the collection of all AlignmentEntity objects that belong to an Alignment.
Inheritance Hierarchy
SystemObject
  [T:Autodesk.Civil.CivilWrapper<AeccDbAlignment>]
    Autodesk.Civil.DatabaseServicesAlignmentEntityCollection

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntax
public sealed class AlignmentEntityCollection : [T:Autodesk.Civil.CivilWrapper<AeccDbAlignment>], 
	IEnumerable<AlignmentEntity>

The AlignmentEntityCollection type exposes the following members.

Properties
 NameDescription
Public propertyCount Gets the number of AlignmentEntity objects in the collection.
Public propertyFirstEntity Gets the ID of the first AlignmentEntity in the collection.
Public propertyItem 
Public propertyLastEntity Gets the ID of the last AlignmentEntity in the collection.
Top
Methods
 NameDescription
Public methodCode exampleAddFixedCurve(Int32, Point3d) Creates an AlignmentArc entity defined by a previous entity and a pass-through point.
Public methodAddFixedCurve(Point3d, Point3d, Vector3d) Creates an AlignmentArc entity defined by an initial pass-through point, a second pass-through point, and a direction at the second pass-through point.
Public methodAddFixedCurve(Point3d, Point3d, Boolean) Creates an AlignmentArc entity defined by a center point, a pass-through point, and a boolean value that specifies whether the direction is clockwise at the pass-through point.
Public methodAddFixedCurve(Point3d, Vector3d, Point3d) Creates an AlignmentArc entity defined by an initial pass-through point, a direction at the initial pass-through point, and a second pass-through point.
Public methodAddFixedCurve(Point3d, Double, Boolean) Creates an AlignmentArc entity defined by a center point, radius, and boolean value that specifies whether the direction is clockwise.
Public methodAddFixedCurve(Int32, Point3d, Point3d, Point3d) Creates an AlignmentArc entity defined by a start point, middle point, and end point.
Public methodAddFixedCurve(Point3d, Point3d, Double, Boolean) Creates an AlignmentArc entity defined by an initial pass-through point, a second pass-through point, the radius, and a boolean specifying whether the curve direction is clockwise.
Public methodAddFixedCurve(Point3d, Vector3d, Double, Boolean) Creates an AlignmentArc entity defined by an initial pass-through point, a direction at the second pass-through point, the radius, and a boolean indicating whether the curve direction is clockwise.
Public methodAddFixedCurve(Int32, Point3d, Point3d, Double, Boolean, Boolean) Creates an AlignmentArc entity defined by an initial pass-through point, a second pass-through point, the radius, a boolean specifying whether the curve direction is clockwise and a boolean specifying whether the AlignmentArc entity is greater than 180 degrees.
Public methodAddFixedLine(Int32, Double) Creates an AlignmentLine entity defined by a previous entity ID and a distance value for the new line.
Public methodAddFixedLine(Point3d, Point3d) Creates an AlignmentLine entity defined by a start point and an end point.
Public methodAddFixedLine(Int32, Point3d, Point3d) Creates an AlignmentLine entity defined by a start point and an end point.
Public methodAddFixedSpiral(Int32, Point3d, Point3d, Point3d, SpiralType) Creates an AlignmentSpiral entity defined by a previous entity, a start point, a point of intersection, an end point and a spiral curvature type.
Public methodAddFixedSpiral(Int32, Double, Double, SpiralCurveType, SpiralType) Creates an AlignmentSpiral entity defined by a previous entity, a start point, a point of intersection, a radius, a length, a spiral curvature type and a clockwise indicator.
Public methodAddFixedSpiral(Int32, Double, Double, Double, SpiralType) Creates an AlignmentSpiral entity defined by a previous entity, a start point, a point of intersection, a start radius, an end radius, a length, a spiral definition, and a clockwise indicator.
Public methodAddFixedSpiral(Int32, Point3d, Point3d, Double, Double, SpiralCurveType, Boolean, SpiralType) Creates an AlignmentSpiral entity defined by a previous entity, a start point, a point of intersection, a radius, a length, a spiral curvature type and a clockwise indicator.
Public methodAddFixedSpiral(Int32, Point3d, Point3d, Double, Double, Double, Boolean, SpiralType) Creates a spiral entity defined by a previous entity, a start point, a point of intersection, a start radius, an end radius, a length, a spiral definition, and a clockwise indicator.
Public methodAddFloatingArcWithSpiral(Int32, EntityAttachType, Double, SpiralParamType, Double, Point3d, Boolean, SpiralType) Adds an AlignmentSCS (SC or CS, Float Arc with Spiral) constrained by a spiral parameter, the radius for the circular arc, and a pass-through point for the circular arc.
Public methodAddFloatingArcWithSpiral(Int32, EntityAttachType, Double, SpiralParamType, Double, Double, Boolean, SpiralType) Add an AlignmentSCS (SC or CS, Float Arc with Spiral) constrained by spiral parameter, the radius for the circular arc, and length of the circular arc.
Public methodAddFloatingCSS(Int32, Point3d, Point3d, Double, Double, SpiralParamType, SpiralType) Adds an AlignmentSSCSS (Spiral-Spiral-Curve-Spiral-Spiral group) entity constrained by a next entity, spiral3 and spiral4 parameters, two pass through points of the circular arc, and a spiral definition type.
Public methodAddFloatingCSS(Int32, Double, Point3d, Double, Double, SpiralParamType, SpiralType) Adds an AlignmentSSCSS (Spiral-Spiral-Curve-Spiral-Spiral group) entity constrained by a next entity, spiral3 and spiral4 parameters, radius for circular arc, pass through point of the circular arc, and a spiral definition type.
Public methodAddFloatingCurve(Int32, Point3d) Creates an AlignmentArc entity defined by a previous entity, and a pass-through point.
Public methodAddFloatingCurve(Point3d, Int32) Creates an AlignmentArc entity defined by a next entity, and a pass-through point.
Public methodAddFloatingCurve(Int32, Point3d, Vector3d) Creates an AlignmentArc entity defined by a previous entity, a pass-through point, and the direction at the pass-through point.
Public methodAddFloatingCurve(Point3d, Vector3d, Int32) Creates an AlignmentArc entity defined by a next entity, a pass-through point, and the direction at the pass-through point.
Public methodAddFloatingCurve(Double, Double, CurveParamType, Boolean, Int32) Creates an AlignmentArc entity defined by a next entity, radius, a constraint type and value.
Public methodAddFloatingCurve(Int32, Point3d, Double, Boolean, CurveType) Creates an AlignmentArc entity defined by a previous entity, a pass-through point, a radius, a boolean value indicating whether or not the curve encompasses more than 180 degrees of a circle, and the curve type.
Public methodAddFloatingCurve(Int32, Double, Double, CurveParamType, Boolean) Creates an AlignmentArc entity defined by a previous entity, radius, a constraint type and value.
Public methodAddFloatingCurve(Point3d, Double, Boolean, CurveType, Int32) Creates an AlignmentArc entity defined by a next entity, a pass-through point, a radius, a boolean value indicating whether or not the curve encompasses more than 180 degrees of a circle, and the curve type.
Public methodAddFloatingLine(Double, Int32) Creates an AlignmentLine entity defined by a next entity (to which it is tangent) and a length.
Public methodAddFloatingLine(Int32, Point3d) Creates an AlignmentLine entity defined by a previous entity and a pass-through point.
Public methodAddFloatingLine(Int32, Double) Creates an AlignmentLine entity defined by a previous entity (to which it is tangent) and a length.
Public methodAddFloatingLine(Point3d, Int32) Creates an AlignmentLine entity defined by a next entity and a pass-through point.
Public methodAddFloatingLineWithSpiral(Int32, EntityAttachType, Double, SpiralParamType, Point3d, SpiralType) Adds an AlignmentSTS (ST or TS, Float Line with Spiral) entity constrained by a spiral parameter and pass-through point for the line.
Public methodAddFloatingLineWithSpiral(Int32, EntityAttachType, Double, SpiralParamType, Double, SpiralType) Adds an AlignmentSTS (ST or TS, Float Line with Spiral) entity constrained by a spiral parameter and line length.
Public methodAddFloatingSSC(Int32, Double, Double, SpiralParamType, Point3d, Point3d, SpiralType) Adds an AlignmentSSCSS (Spiral-Spiral-Curve-Spiral-Spiral group) entity constrained by a previous entity, spiral1 and spiral2 parameters, two pass through points of the circular arc, and a spiral definition type.
Public methodAddFloatingSSC(Int32, Double, Double, SpiralParamType, Double, Point3d, SpiralType) Adds an AlignmentSSCSS (Spiral-Spiral-Curve-Spiral-Spiral group) entity constrained by a previous entity, spiral1 and spiral2 parameters, radius for circular arc, pass through point of the circular arc, and a spiral definition type.
Public methodAddFloatSpiral(Double, Double, Int32, Boolean, SpiralType) Creates an AlignmentSpiral entity defined by a radius, a length, a next entity, a clockwise indicator and a spiral definition.
Public methodAddFloatSpiral(Int32, Double, Double, Boolean, SpiralType) Creates an AlignmentSpiral entity defined by a previous entity, a radius, a length, a clockwise indicator and a spiral definition.
Public methodAddFreeCurve(Int32, Int32, Point3d) Creates a free (dependent on two other subentities) AlignmentArc entity defined by a previous entity, a next entity, and a pass-through point.
Public methodAddFreeCurve(Int32, Int32, Double, CurveParamType, Boolean, CurveType) Creates a free (dependent on two other subentities) arc AlignmentArc defined by a previous entity, a next entity, a constraint type and value, a boolean value specifying whether the curve encompasses more than 180 degrees, and the curve type.
Public methodAddFreeLine Creates an AlignmentLine entity defined by two successive elements identified by ID.
Public methodAddFreeSCS Creates a AlignmentSCS (Spiral-Curve-Spiral group) entity defined by a previous entity, a next entity, the 'A' values of two spirals, and the arc radius.
Public methodAddFreeSCSCS Creates an AlignmentSCSCS (Spiral-Curve-Spiral-Curve-Spiral group) subentity defined by a previous element, a next element, an AeccGeSCSCSConstraints and a spiral definition type .
Public methodAddFreeSCSS Creates an AlignmentSCSS (Spiral-Curve-Spiral-ReverseSpiral group) subentity defined by a previous element, a next element, an AeccGeSCSCSConstraints and a spiral definition type .
Public methodAddFreeSCSSCS Creates an AlignmentSCSSCS (Spiral-Curve-Spiral-Spiral-Curve-Spiral group) subentity defined by a previous element, a next element, an AeccGeSCSCSConstraints and a spiral definition type.
Public methodAddFreeSpiral Creates a AlignmentSCS (Spiral-Curve-Spiral group with a curve and a spiral length is 0) entity defined by a previous entity, a next entity, the lengths or A-Value of spiral, and the spiral type and the definition type.
Public methodAddFreeSSBetweenCurves Adds an AlignmentSTS (Spiral-Line-Spiral group with the line length is 0) entity constrained by the two spiral parameters.
Public methodAddFreeSSBetweenTangents Creates a AlignmentSCS (Spiral-Curve-Spiral groupwith the curve length is 0) entity defined by a previous entity, a next entity, the 'A' value or Length of two spirals.
Public methodAddFreeSSCS Creates an AlignmentSSCS (ReverseSpiral-Spiral-Curve-Spiral group) subentity defined by a previous element, a next element, an AeccGeSCSCSConstraints and a spiral definition type .
Public methodAddFreeSSCSS Creates an AlignmentSSCSS (ReverseSpiral-Spiral-Curve-Spiral-ReverseSpiral group) subentity defined by a previous element, a next element, an AeccGeSCSCSConstraints and a spiral definition type .
Public methodAddFreeSTS(Int32, Int32, Double, SpiralType) Adds an AlignmentSTS (Spiral-Line-Spiral) entity constrained by the line length.
Public methodAddFreeSTS(Int32, Int32, Double, Double, SpiralParamType, SpiralType) Adds an AlignmentSTS (Spiral-Line-Spiral group) entity constrained by the two spiral parameters.
Public methodClear Removes all alignment entities from the collection.
Public methodEntityAtId Returns the AlignmentEntity specified by ID.
Public methodEntityAtStation Gets the AlignmentEntity at a specified Station in the Alignment.
Public methodGetEntityByOrder Gets an AlignmentEntity at a specified order index along the alignment path. This function behaves like the GUI in that disconnected alignment entities are not considered.
Public methodGetEnumerator Implements the method declared in the IEnumerable<T> interface. This method returns an enumerator for this collection.
Public methodGetObjectEnumerator Implements the method declared in the IEnumerable interface. This method returns an enumerator for this collection.
Public methodRemove Removes alignment entity from the collection by the specified entity object.
Public methodRemoveAt Removes alignment entity from the collection by the specified index.
Top
See Also