Sketcher: BSpline solver Internal Geometry for poles
This commit is contained in:
@@ -1007,6 +1007,12 @@ int System::addConstraintInternalAlignmentParabolaFocus(Parabola &e, Point &p1,
|
||||
return addConstraintEqual(e.focus1.y, p1.y, tagId);
|
||||
}
|
||||
|
||||
int System::addConstraintInternalAlignmentBSplineControlPoint(BSpline &b, Circle &c, int poleindex, int tagId)
|
||||
{
|
||||
addConstraintEqual(b.poles[poleindex].x, c.center.x, tagId);
|
||||
return addConstraintEqual(b.poles[poleindex].y, c.center.y, tagId);
|
||||
}
|
||||
|
||||
|
||||
//calculates angle between two curves at point of their intersection p. If two
|
||||
//points are supplied, p is used for first curve and p2 for second, yielding a
|
||||
|
||||
Reference in New Issue
Block a user