IntersectSurface Method (ObjectId, ObjectId, IPoint, Boolean, Double)

Intersects a ray with a surface, with no maximum ray distance.

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

Syntax

C#

public IPoint IntersectSurface(
	ObjectId surfaceId,
	ObjectId alignmentId,
	IPoint origin,
	bool lookRight,
	double slope
)

Visual Basic

Public Function IntersectSurface ( _
	surfaceId As ObjectId, _
	alignmentId As ObjectId, _
	origin As IPoint, _
	lookRight As Boolean, _
	slope As Double _
) As IPoint

Visual C++

public:
IPoint^ IntersectSurface(
	ObjectId surfaceId, 
	ObjectId alignmentId, 
	IPoint^ origin, 
	bool lookRight, 
	double slope
)

Parameters

surfaceId
Type: ObjectId
Intersect the ray with this surface.
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.
slope
Type: System.Double
Slope of the ray.

Return Value

Returns the point of intersection.

See Also