closestPointToPoint method
Implementation
Vector3 closestPointToPoint(Vector3 point, bool clampToLine, Vector3 target) {
final t = closestPointToPointParameter(point, clampToLine);
return delta(target).multiplyScalar(t).add(start);
}
Vector3 closestPointToPoint(Vector3 point, bool clampToLine, Vector3 target) {
final t = closestPointToPointParameter(point, clampToLine);
return delta(target).multiplyScalar(t).add(start);
}