Intersects a ray with a surface.
Namespace: Autodesk.Civil.Runtime
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280
Syntax
C#
public IPoint IntersectSurface( ObjectId surfaceId, ObjectId alignmentId, IPoint origin, bool lookRight, double slope, double maxDistance )
VB
Public Function IntersectSurface ( surfaceId As ObjectId, alignmentId As ObjectId, origin As IPoint, lookRight As Boolean, slope As Double, maxDistance As Double ) As IPoint
C++
public: IPoint^ IntersectSurface( ObjectId surfaceId, ObjectId alignmentId, IPoint^ origin, bool lookRight, double slope, double maxDistance )
Parameters
- surfaceId ObjectId
- Intersect the ray with this surface.
- 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.
- slope Double
- Slope of the ray.
- maxDistance Double
- Maximum distance to project the ray.
Return Value
IPointReturns the point of intersection.