CorridorStateIntersectSurface(ObjectId, ObjectId, IPoint, Boolean, Double, Int32) Method |
Intersects a ray with a surface, with no maximum ray distance and a maximum number of wanted intersection points.
Namespace: Autodesk.Civil.RuntimeAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntaxpublic IPoint[] IntersectSurface(
ObjectId surfaceId,
ObjectId alignmentId,
IPoint origin,
bool lookRight,
double slope,
int pointsRequired
)
Public Function IntersectSurface (
surfaceId As ObjectId,
alignmentId As ObjectId,
origin As IPoint,
lookRight As Boolean,
slope As Double,
pointsRequired As Integer
) As IPoint()
public:
array<IPoint^>^ IntersectSurface(
ObjectId surfaceId,
ObjectId alignmentId,
IPoint^ origin,
bool lookRight,
double slope,
int pointsRequired
)
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.
- pointsRequired Int32
- The maximum number of wanted intersection points? Pass 0 to return all intersection points.
Return Value
IPointReturns the point of intersection.
See Also