MCPcopy Create free account
hub / github.com/MeshInspector/MeshLib / segPoints

Function segPoints

source/MRMesh/MRTriDist.cpp:233–242  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

231}
232
233void segPoints( Vector3f & VEC,
234 Vector3f & X, Vector3f & Y,
235 const Vector3f & P, const Vector3f & A,
236 const Vector3f & Q, const Vector3f & B)
237{
238 const auto sd = findTwoLineSegmClosestPoints( { P, P + A }, { Q, Q + B } );
239 X = sd.a;
240 Y = sd.b;
241 VEC = sd.dir;
242}
243
244} // namespace MR

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected