You are here: Start » AVL.NET » AVS.RegionToRegionDistance Method

AVS.RegionToRegionDistance Method

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void RegionToRegionDistance
(
	AvlNet.Region inRegion1,
	AvlNet.Region inRegion2,
	float inResolution,
	out float outDistance,
	out AvlNet.Segment2D outConnectingSegment
)

Parameters

Name Type Range Default Description
inRegion1AvlNet.RegionFirst input region.
inRegion2AvlNet.RegionSecond input region.
inResolutionfloat<0.0f, INF>1.0fNumber of real-world units per one pixel. Default value: 1.0f.
outDistancefloat
outConnectingSegmentAvlNet.Segment2D

Function Overrides

See also