Standard_Boolean nullx = (Abs(p2d.X()) < toluv);
Standard_Boolean apex = nullx && (Abs(p2d.Y()) < toluv);
if (apex) {
- const gp_Dir& axis = GS.Cone().Axis().Direction();
- gp_Vec ng(axis); ng.Reverse();
- return ng;
+ gp_Dir axis = GS.Cone().Axis().Direction();
+ gp_Vec ng(axis);
+ ng.Reverse();
+ return ng;
}
else if (du < tol) {
Standard_Real vf = GS.FirstVParameter();