Extents2d.Distance (Point2d, Boolean) Method

Computes the minimum distance from a point to circumference of this extent.
public double Distance( 
   Point2d pt
   bool insidezero 
)

Parameters

pt
Point2d

The point to compute distance from.

insidezero
bool

Determines if the extent is to be interpreted as a wireframe or a solid -- the distance to a solid from a point inside the solid is zero.

Return Value

double

The minimum distance from the point to this extent.

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

In this article

Definition