Define arc by center and a point

Bug #924274 reported by hilaire
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Dr. Geo
Fix Released
Wishlist
hilaire

Bug Description

Let a point O, then a point A and next point B under constraint to be on the arc of center O and radius OA, B is the end of the arc.

Let the oriented angle a = AOB

Depending on the nature of B:

1) if B is created on the plane, then the arc angle 'a' is fixed and B is dependent on O, A and a. The value of angle a is fixed by the original position of O, A, B.
In this case, B is the image of A by rotation(O,a)
The arc itself is dependent on O, A and the initial fixed value of a.

The chronology of instantiation is then:
i. the point B image of A by rotation(O,a)
ii. the arc of center O, origin A and oriented angle a (DrGArcCenterAngleItem), nodeType=#centerAngle)

But do we need B in this case? Probably no.

Then I am not sure this is what the user expects.

2) if B belongs to a line, then B is constrained to remain on the line so OB=OA. The angle a is then not fixed.
To determine the position of B on the line, we search for the intersections of circle(O,OA) and line, then we select the closest position to the previous B position.
In this case, B is dependent on O, A and the line.

The chronology of instantiation is then:
i. the point B, closest intersection of circle(O,OA) and line
ii. the arc AB. (DrGArcCenter2ptsItem, nodeType=#'center2pts')

CONFUSING:

O, A and B should be all free. then B is only used to compute the arc length given its center O and radius OA. length := angle(OAB) * OA.

Tags: core
description: updated
description: updated
description: updated
description: updated
description: updated
tags: added: core
Changed in drgeo:
assignee: nobody → Hilaire Fernandes (hilaire-fernandes)
description: updated
description: updated
description: updated
description: updated
Changed in drgeo:
status: New → In Progress
milestone: none → 12.10
status: In Progress → Fix Committed
Changed in drgeo:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.