Intersects a ray with an alignment.
Namespace: Autodesk.Civil.RuntimeAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.208.0
Syntax
C#
public IPoint IntersectAlignment( ObjectId targetAlignmentId, ObjectId alignmentId, IPoint origin, bool lookRight, double maxDistance )
Visual Basic
Public Function IntersectAlignment ( _ targetAlignmentId As ObjectId, _ alignmentId As ObjectId, _ origin As IPoint, _ lookRight As Boolean, _ maxDistance As Double _ ) As IPoint
Visual C++
public: IPoint^ IntersectAlignment( ObjectId targetAlignmentId, ObjectId alignmentId, IPoint^ origin, bool lookRight, double maxDistance )
Parameters
- targetAlignmentId
- Type: ObjectId
Intersect with this alignment.
- alignmentId
- Type: ObjectId
Project the ray perpendicular to this alignment.
- origin
- Type: Autodesk.Civil.DatabaseServices.IPoint
Origin of the intersection ray.
- lookRight
- Type: System.Boolean
Project the ray to the right if true, to the left if false.
- maxDistance
- Type: System.Double
Maximum distance to project the ray.