Skip to content

Commit

Permalink
Merge pull request #2185 from maksqwe/opennurbs_fix_curve
Browse files Browse the repository at this point in the history
opennurbs: fix ON_Curve::EvaluatePoint calculation
  • Loading branch information
SergioRAgostinho authored Jan 16, 2018
2 parents 075539d + 6ab8210 commit 4fc9787
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion surface/src/3rdparty/opennurbs/opennurbs_curve.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1182,7 +1182,7 @@ bool ON_Curve::EvaluatePoint( const class ON_ObjRef& objref, ON_3dPoint& P ) con
ON_3dPoint F1, F2;
if ( ellipse.GetFoci(F1,F2) )
{
P = ( F1.DistanceTo(Q) <= F1.DistanceTo(Q)) ? F1 : F2;
P = ( F1.DistanceTo(Q) <= F2.DistanceTo(Q)) ? F1 : F2;
rc = true;
}
}
Expand Down

0 comments on commit 4fc9787

Please sign in to comment.