You are here: Start » FIL.NET » Invoke.PointToRectangleDistance

Invoke.PointToRectangleDistance

Measures the distance between point and rectangle.

Namespace:Fil
Assembly:FilNet.dll

Syntax

C++
C#
 
public static void PointToRectangleDistance
(
	Fil.Point2D inPoint,
	Fil.Rectangle2D inRectangle,
	float inResolution,
	bool inIsFilled,
	out float outDistance,
	Conditional<Fil.Segment2D> outConnectingSegment
)

Parameters

Name Type Range Default Description
inPointFil.Point2D
inRectangleFil.Rectangle2D
inResolutionfloat<0.0f, INF>1.0fNumber of real-world units per one pixel. Default value: 1.0f.
inIsFilledboolTrueWhether the rectangle is filled inside or not. Default value: True.
outDistancefloat
outConnectingSegmentFtl.Conditional<Fil.Segment2D>

See also