Segment3D.IntersectWith (Point3D, Point3D, Boolean) Method

Intersects the 3D segment with an Axis-Aligned Box.
Public Function IntersectWith( _ 
ByVal boxMin As Point3D, _ 
ByVal boxMax As Point3D, _ 
Optional ByVal infinite As Boolean = false _ 
) As Boolean
This language is not supported or no code example is available.
public bool IntersectWith( 
Point3D boxMin
Point3D boxMax
bool infinite = false 
)
This language is not supported or no code example is available.

Parameters

boxMin
Point3D

the min corner of the box

boxMax
Point3D

the max corner of the box

infinite
bool

If true, the Segment3D is treated as an infinite line

Return Value

bool

True if there is an intersection, false otherwise.

.NET Framework

Supported in: 4.8

In this article

Definition