Hi Rallaz,
sounds like I misunderstood this feature.
so snap perpendicular is the projected point of relative zero on the nearest entity.
if so, it's straight forward to implement it.
i still want to see some examples first.
thanks,
dongxu
It may be a nonsense but...
A snapPerpendicular is a point from "relative zero" to entity in mouse.
line by 2 points case with a snapPerpendicular activated
click the first point, the relative zero are moved to the clicked point,
click the second point, RS_Snapper::snapPoint is called
snapPoint gets the "relative zero" coordinate and calculate the
perpendicular point in the entity over the mouse
If you reply to this email, your message will be added to the discussion below:http://forum.librecad.org/Add-entities-beeing-created-to-main-container-tp5539557p5544633.htmlTo start a new topic under LibreCAD-dev, email [hidden email]
To unsubscribe from LibreCAD-dev, click here.
NAML
Free forum by Nabble | Edit this page |