Intersects a ray with an alignment, with no maximum distance specified.

Namespace: Autodesk.Civil.Runtime
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.2516.0

Syntax

C#
public IPoint IntersectAlignment(
	ObjectId targetAlignmentId,
	ObjectId alignmentId,
	IPoint origin,
	bool lookRight
)
Visual Basic
Public Function IntersectAlignment ( _
	targetAlignmentId As ObjectId, _
	alignmentId As ObjectId, _
	origin As IPoint, _
	lookRight As Boolean _
) As IPoint
Visual C++
public:
IPoint^ IntersectAlignment(
	ObjectId targetAlignmentId, 
	ObjectId alignmentId, 
	IPoint^ origin, 
	bool lookRight
)

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.

Return Value

Returns the point of intersection.

See Also