CorridorState Class

Contains a wide array of information about a corridor and methods for determining locations relative to the corridor. Used in the creation of custom subassemblies.
Inheritance Hierarchy
SystemObject
  [T:Autodesk.Civil.CivilWrapper<AeccDbRuntimeState>]
    Autodesk.Civil.RuntimeRuntimeState
      Autodesk.Civil.RuntimeCorridorState

Namespace: Autodesk.Civil.Runtime
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntax
public sealed class CorridorState : RuntimeState

The CorridorState type exposes the following members.

Properties
 NameDescription
Public propertyCurrentAlignmentId Gets the current alignment where Subassembly is being applied.
Public propertyCurrentAlignmentIsOffsetAlignment Returns true if current processing state is along an offset alignment.
Public propertyCurrentAssemblyElevation Returns elevation difference from profile grade line elevation where current assembly is being applied.
Public propertyCurrentAssemblyFixedElevation If the CurrentAssemblyOffsetIsFixed property returns True, this property is the fixed elevation difference of the offset assembly portion from the baseline assembly portion.
Public propertyCurrentAssemblyFixedOffset If the CurrentAssemblyOffsetIsFixed property returns True, this property is the fixed offset distance of the offset assembly portion from the baseline assembly portion.
Public propertyCurrentAssemblyId Gets the ObjectId of the current Assembly being applied.
Public propertyCurrentAssemblyName Gets the name of the current Assembly being applied.
Public propertyCurrentAssemblyOffset Returns offset from baseline alignment where current assembly is being applied.
Public propertyCurrentAssemblyOffsetIsFixed Returns true if current processing state is along offset portion of assembly without offset alignment defined.
Public propertyCurrentBaselineId Gets the current baseline alignment where a Subassembly is being applied.
Public propertyCurrentCorridorId Gets the OjbectId of the current Corridor being applied.
Public propertyCurrentCorridorName Gets the name of the current Corridor being applied.
Public propertyCurrentElevation Gets the current elevation.
Public propertyCurrentMacroName Gets the current macro name.
(Inherited from RuntimeState)
Public propertyCurrentMacroProject Gets the current macro project.
(Inherited from RuntimeState)
Public propertyCurrentOffset Gets the current offset.
Public propertyCurrentProfileId Gets the current profile where Subassembly is being applied.
Public propertyCurrentRegionEndStation Gets the current region's end station where a Subassembly is being applied.
Public propertyCurrentRegionStartStation Gets the current region's start station where a Subassembly is being applied.
Public propertyCurrentStation Gets the current baseline alignment station where a Subassembly is being applied.
Public propertyCurrentSubassemblyElevation Returns the elevation difference from the assembly origin where the current subassembly is being applied.
Public propertyCurrentSubassemblyId Gets the ObjectId of the current Subassembly being applied.
Public propertyCurrentSubassemblyName Gets the name of the current Subassembly being applied.
Public propertyCurrentSubassemblyOffset Returns the offset from assembly origin where the current subassembly is being applied.
Public propertyCurrentSubassemblyVersion Sets the version of the current Subassembly being applied.
Public propertyLayoutModeDisplayType Gets or sets the corridor state's display mode.
Public propertyLinks Gets the collection of links.
Public propertyMode Gets corridor state's mode.
Public propertyParamsAlignment Gets the collection of alignment parameters.
Public propertyParamsAlignmentGlobal ParamsAlignmentGlobal
Public propertyParamsBool Gets the collection of boolean parameters.
Public propertyParamsBoolGlobal ParamsBoolGlobal
Public propertyParamsDouble Gets the collection of double parameters.
Public propertyParamsDoubleGlobal ParamsDoubleGlobal
Public propertyParamsElevationTarget Gets the collection of elevation parameters.
Public propertyParamsElevationTargetGlobal ParamsElevationGlobal
Public propertyParamsLong Gets the collection of long parameters.
Public propertyParamsLongGlobal ParamsLongGlobal
Public propertyParamsOffsetTarget Gets the collection of offset target parameters.
Public propertyParamsOffsetTargetGlobal ParamsOffsetTargetGlobal
Public propertyParamsPoint Gets the collection of marked point parameters.
Public propertyParamsPointGlobal ParamsPointGlobal
Public propertyParamsProfile Gets the collection of profile parameters.
Public propertyParamsProfileGlobal ParamsProfileGlobal
Public propertyParamsString Gets the collection of string parameters.
Public propertyParamsStringGlobal ParamsStringGlobal
Public propertyParamsSurface Gets the collection of surface parameters.
Public propertyParamsSurfaceGlobal ParamsSurfaceGlobal
Public propertyPoints Gets the collection of points.
Public propertyResourceStringString 
Public propertyResourceStringUInt32 Converts a resource id (numeric) to a resource string from the current subassembly's resource module.
Public propertyShapes Gets the collection of shapes.
Top
Methods
 NameDescription
Public methodIntersectAlignment(ObjectId, ObjectId, IPoint, Boolean) Intersects a ray with an alignment, with no maximum distance specified.
Public methodIntersectAlignment(ObjectId, ObjectId, IPoint, Boolean, Double) Intersects a ray with an alignment.
Public methodIntersectLink Intersects a ray with an assembly's links.
Public methodIntersectSurface(ObjectId, ObjectId, IPoint, Boolean, Double) Intersects a ray with a surface, with no maximum ray distance.
Public methodIntersectSurface(ObjectId, ObjectId, IPoint, Boolean, Double, Double) Intersects a ray with a surface.
Public methodIntersectSurface(ObjectId, ObjectId, IPoint, Boolean, Double, Int32) Intersects a ray with a surface, with no maximum ray distance and a maximum number of wanted intersection points.
Public methodIsAboveSurface(ObjectId, ObjectId, IPoint) Determines if roadway point is above a surface, with no minimum distance specified.
Public methodIsAboveSurface(ObjectId, ObjectId, IPoint, Double) Determines if roadway point is above a surface.
Public methodRecordError Record error.
Public methodSampleSection Samples elevation along an existing surface.
Public methodSetAxisOfRotationCrownPoint If the crown point is set, the axis of rotation uses it in its calculation for a divided crown/centers pivot type/multiple group assembly case. If a crown point is not set, the default Baseline pivot behavior is be used
Public methodSetAxisOfRotationInformation Save the AOR (Axis of Rotation) information for a subassembly
Public methodSetAxisOfRotationSERange By default, the axis of rotation calculation assumes the superelevation cross-slope set in SetAxisOfRotationInfomation applies to the full width of the subassembly. If the subassembly wants to override that behavior it can specify a starting and ending offset that indicates where superelavtion was applied.
Public methodSoeToXyz Transforms from assembly local station, offset, elevation (SOE) coordinates to world x,y,z coordinates.
Public methodXyzToSoe Transforms from world x,y,z coordinates to assembly local station, offset, elevation (SOE) coordinates.
Top
See Also