Part: Geometry - Curve member to calculate the normal at Point
============================================================== Convenience member function combining closestParameter and normalAt using parameter.
This commit is contained in:
@@ -698,6 +698,14 @@ bool GeomCurve::normalAt(double u, Base::Vector3d& dir) const
|
||||
return false;
|
||||
}
|
||||
|
||||
bool GeomCurve::normalAt(const Base::Vector3d & curvepoint, Base::Vector3d & dir) const
|
||||
{
|
||||
double u;
|
||||
closestParameter(curvepoint, u);
|
||||
|
||||
return normalAt(u, dir);
|
||||
}
|
||||
|
||||
bool GeomCurve::intersect( const GeomCurve *c,
|
||||
std::vector<std::pair<Base::Vector3d, Base::Vector3d>>& points,
|
||||
double tol) const
|
||||
|
||||
Reference in New Issue
Block a user