EPointCloud::DistanceToLine

Returns the shortest distance between an E3DPoint of the EPointCloud and a line represented by 2 E3DPoint.

Namespace: Euresys::Open_eVision::Easy3D

[C++]

float DistanceToLine(
   const E3DPoint& origin,
   const E3DPoint& end
)

float DistanceToLine(
   const E3DPoint& origin,
   const E3DPoint& end,
   E3DPoint& closest,
   int& closestIndex
)

Parameters

origin

One point of the line.

end

The other point of the line.

closest

Where the closest point will be stored.

closestIndex

Where the index of the closest point will be stored.

EPointCloud.DistanceToLine

Returns the shortest distance between an E3DPoint of the EPointCloud and a line represented by 2 E3DPoint.

Namespace: Euresys.Open_eVision.Easy3D

[C#]

float DistanceToLine(
   Euresys.Open_eVision.Easy3D.E3DPoint origin,
   Euresys.Open_eVision.Easy3D.E3DPoint end
)

float DistanceToLine(
   Euresys.Open_eVision.Easy3D.E3DPoint origin,
   Euresys.Open_eVision.Easy3D.E3DPoint end,
   out Euresys.Open_eVision.Easy3D.E3DPoint closest,
   out int closestIndex
)

Parameters

origin

One point of the line.

end

The other point of the line.

closest

Where the closest point will be stored.

closestIndex

Where the index of the closest point will be stored.