Draw projection lines for point-line distance constraints.
This is only visible when the point and line lie within the workplane, but the constraint label does not.
This commit is contained in:
parent
ad2371cfae
commit
6e17780e01
@ -261,6 +261,9 @@ void Constraint::DoLineWithArrows(Vector ref, Vector a, Vector b,
|
||||
LineDrawOrGetDistance(a, ae.Plus(out.WithMagnitude(10*pixels)));
|
||||
if(!onlyOneExt) {
|
||||
LineDrawOrGetDistance(b, be.Plus(out.WithMagnitude(10*pixels)));
|
||||
} else {
|
||||
Vector prj = be;
|
||||
DoProjectedPoint(&prj);
|
||||
}
|
||||
|
||||
int within = DoLineTrimmedAgainstBox(ref, ae, be);
|
||||
|
Loading…
Reference in New Issue
Block a user