Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Arc2dfx and Arc2d #37

Open
sebpetit opened this issue May 17, 2016 · 2 comments
Open

Create Arc2dfx and Arc2d #37

sebpetit opened this issue May 17, 2016 · 2 comments

Comments

@sebpetit
Copy link

sebpetit commented May 17, 2016

Create a constructor with the following parameters :

  • le X coordinate of the center point of the arc
  • the Y coordinate of the center point of the arc
  • the lenght the angular extent of the arc in degrees (or the ending angle of the arc in degrees)
  • the radius of the full ellipse of which this arc is a partial section
  • the starting angle of the arc in degrees
@gallandarakhneorg gallandarakhneorg added this to the 13.0 milestone May 17, 2016
@gallandarakhneorg gallandarakhneorg changed the title Create ArcTo2fx and ArcTo2d Create Arc2fx and Arc2d May 17, 2016
@gallandarakhneorg gallandarakhneorg changed the title Create Arc2fx and Arc2d Create Arc2dfx and Arc2d May 17, 2016
@gallandarakhneorg
Copy link
Owner

gallandarakhneorg commented May 17, 2016

The arcs will be based on an Elliptical shape. the constructors will be:

  • Arc2d(double centerX, double centerY, double horizontalRadius, double verticalRadius, double startAngleInRadians, double endAngleInRadians)
  • Arc2dfx(double centerX, double centerY, double horizontalRadius, double verticalRadius, double startAngleInRadians, double endAngleInRadians)

The arc will not be a piece of pie. In other words, It is on the perimeter of the base ellipse. It is not a polygon.

@gallandarakhneorg
Copy link
Owner

Do you need specific functions on arcs (excepting getting the closest/farthest point, distance, intersection)?

@gallandarakhneorg gallandarakhneorg modified the milestones: 14.0, 13.0 May 26, 2016
@gallandarakhneorg gallandarakhneorg modified the milestones: 14.0, 15.0, 16.0 Nov 24, 2017
@gallandarakhneorg gallandarakhneorg modified the milestones: 16.0, 18.0 Oct 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants