Extents2d.Distance (Point2d, Boolean) Method

Computes the minimum distance from a point to circumference of this extent.
Public Function Distance( _ 
ByVal pt As Point2d, _ 
ByVal insidezero As Boolean
) As Double
This language is not supported or no code example is available.
public double Distance( 
Point2d pt
bool insidezero 
)
This language is not supported or no code example is available.
public:  
double Distance( 
Point2d^ pt
bool insidezero 
)
This language is not supported or no code example is available.
public function Distance( 
pt : Point2d
insidezero : boolean 
) : double;
This language is not supported or no code example is available.

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