Back to Adaptive Vision Library website
You are here: Start » Function Reference » Geometry 3D Distance Metrics » PointToPlaneDistance3D
PointToPlaneDistance3D
Measures the distance between a 3D point and a plane.
Syntax
C++
C#
void avl::PointToPlaneDistance3D ( const avl::Point3D& inPoint, const avl::Plane3D& inPlane, atl::real inResolution, atl::real& outDistance, atl::Optional<avl::Segment3D&> outConnectingSegment = atl::NIL )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inPoint | const Point3D& | |||
![]() |
inPlane | const Plane3D& | |||
![]() |
inResolution | real | 0.0 - ![]() |
1.0f | Number of real-world units per one pixel |
![]() |
outDistance | real& | |||
![]() |
outConnectingSegment | Optional<Segment3D&> | NIL |
Errors
| Error type | Description |
|---|---|
| DomainError | Indefinite plane on input in PointToPlaneDistance3D. |



