Intersects a ray with an assembly's links.

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

Syntax

C#
public IPoint IntersectLink(
	IPoint origin,
	bool lookRight,
	double slope,
	string linkCode
)
Visual Basic
Public Function IntersectLink ( _
	origin As IPoint, _
	lookRight As Boolean, _
	slope As Double, _
	linkCode As String _
) As IPoint
Visual C++
public:
IPoint^ IntersectLink(
	IPoint^ origin, 
	bool lookRight, 
	double slope, 
	String^ linkCode
)

Parameters

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.
slope
Type: System..::..Double
Slope of the ray.
linkCode
Type: System..::..String
Only intersect with links with this code. An empty string "" intersects with all links.

Return Value

Returns the point of intersection.

See Also