Sketcher: Group dragging

This commit is contained in:
PaddleStroke
2024-12-03 18:06:41 +01:00
parent d2d8bb5f86
commit 70972b3926
8 changed files with 740 additions and 693 deletions

View File

@@ -528,6 +528,22 @@ setLabelDistance(constraintIndex:int, value:float)
</UserDocu>
</Documentation>
</Methode>
<Methode Name="moveGeometries">
<Documentation>
<UserDocu>
moveGeometries(Geos,Vector,[relative]) - move given points and curves
to another location.
It moves the specified points and curves to the given location by adding some
temporary weak constraints and solve the sketch.
This method is mostly used to allow the user to drag some portions of the sketch
in real time by e.g. the mouse and it works only for underconstrained portions of
the sketch.
The argument 'relative', if present, states if the new location is given
relatively to the current one. For group dragging this is enforced.
Geos is a vector of pairs of geoId and posId.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="getPoint" Const="true">
<Documentation>
<UserDocu>