Share

CorridorState.IntersectAlignment(ObjectId, ObjectId, IPoint, Boolean, Double) Method

Intersects a ray with an alignment.



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

Syntax

C#

public IPoint IntersectAlignment(
	ObjectId targetAlignmentId,
	ObjectId alignmentId,
	IPoint origin,
	bool lookRight,
	double maxDistance
)

VB

Public Function IntersectAlignment ( 
	targetAlignmentId As ObjectId,
	alignmentId As ObjectId,
	origin As IPoint,
	lookRight As Boolean,
	maxDistance As Double
) As IPoint

C++

public:
IPoint^ IntersectAlignment(
	ObjectId targetAlignmentId, 
	ObjectId alignmentId, 
	IPoint^ origin, 
	bool lookRight, 
	double maxDistance
)

Parameters

targetAlignmentId  ObjectId
Intersect with this alignment.
alignmentId  ObjectId
Project the ray perpendicular to this alignment.
origin  IPoint
Origin of the intersection ray.
lookRight  Boolean
Project the ray to the right if true, to the left if false.
maxDistance  Double
Maximum distance to project the ray.

Return Value

IPoint
Returns the point of intersection.

See Also

Reference

Was this information helpful?