E3DPoint::DistanceToSegment

Returns the euclidean distance between the E3DPoint and a segment represented by 2 other E3DPoint.

Namespace: Euresys::Open_eVision::Easy3D

[C++]

float DistanceToSegment(
   const E3DPoint& from,
   const E3DPoint& to
)

Parameters

from

One end point of the segment

to

The other end point of the segment

E3DPoint.DistanceToSegment

Returns the euclidean distance between the E3DPoint and a segment represented by 2 other E3DPoint.

Namespace: Euresys.Open_eVision.Easy3D

[C#]

float DistanceToSegment(
   Euresys.Open_eVision.Easy3D.E3DPoint from,
   Euresys.Open_eVision.Easy3D.E3DPoint to
)

Parameters

from

One end point of the segment

to

The other end point of the segment