You are here: Start » AVL.NET » Function Reference » Geometry 3D » Geometry 3D Distance Metrics » AVL.PointToPlaneDistance3D

AVL.PointToPlaneDistance3D

Measures the distance between a 3D point and a plane.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void PointToPlaneDistance3D
(
	AvlNet.Point3D inPoint3D,
	AvlNet.Plane3D inPlane,
	float inResolution,
	out float outDistance,
	out AvlNet.Segment3D outConnectingSegment3D,
	out float outSignedDistance
)

Parameters

Name Type Range Default Description
inPoint3DAvlNet.Point3D
inPlaneAvlNet.Plane3D
inResolutionfloat<0.0f, INF>1.0fNumber of real-world units per one pixel. Default value: 1.0f.
outDistancefloat
outConnectingSegment3DAvlNet.Segment3D
outSignedDistancefloat

Errors

List of possible exceptions:

Error type Description
DomainError Indefinite plane on input in PointToPlaneDistance3D.

Function Overrides

See also