You are here: Start » AVL.NET » Invoke.RegionToRegionDistance

Invoke.RegionToRegionDistance

Computes minimal distance between one of the points of the first region with one of the points of the second region.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void RegionToRegionDistance
(
	Avl.Region inRegion1,
	Avl.Region inRegion2,
	float inResolution,
	out float outDistance,
	Optional<Avl.Segment2D> outConnectingSegment
)

Parameters

Name Type Range Default Description
inRegion1Avl.RegionFirst input region.
inRegion2Avl.RegionSecond input region.
inResolutionfloat<0.0f, INF>1.0fNumber of real-world units per one pixel. Default value: 1.0f.
outDistancefloat
outConnectingSegmentAtl.Optional<Avl.Segment2D>

See also