Utility.IsPointInside Method

Checks if the point is inside the specified bounding box.
Public Shared Function IsPointInside( _ 
ByVal P As Point3D, _ 
ByVal min As Point3D, _ 
ByVal max As Point3D, _ 
Optional ByVal inflate As Double = 0, _ 
Optional ByVal testOpenIntervals As Boolean = true _ 
) As Boolean
This language is not supported or no code example is available.
public static bool IsPointInside( 
Point3D P
Point3D min
Point3D max
double inflate = 0, 
bool testOpenIntervals = true 
)
This language is not supported or no code example is available.

Parameters

P
Point3D

min
Point3D

Minimum 3D corner

max
Point3D

Maximum 3D corner

inflate
double

Inflate amount

testOpenIntervals
bool

If false, for each component, P is tested to see if it satisfies min.X <= P.X <= max.X. If true, P is tested to see if it satisfies min.X < P.X < max.X.

Return Value

bool

True if the 3D point is inside the bounding box, false otherwise.

.NET Framework

Supported in: 4.8

In this article

Definition