Share

LineSegment.IntersectWithSurface Method

Parent Object: LineSegment

Description

Method that returns Point objects that represent the points at the intersection of the Line/LineSegment and the input surface. Returns Nothing if the Line/LineSegment lies on the surface or it is parallel to the surface.

Syntax

LineSegment.IntersectWithSurface( Surface As Object, [Tolerance] As Double ) As ObjectsEnumerator

Parameters

Name Type Description
Surface Object Input object. This can be a Plane, Cone, Cylinder, EllipticalCone, EllipticalCylinder, Sphere, Torus or a BSplineSurface.
Tolerance Double Optional input Double that specifies the linear tolerance to use for intersection computation. If not specified, the default internal tolerance is used.

This is an optional argument whose default value is 0.0.

Version

Introduced in version 2008

Was this information helpful?