Skip to content
This repository has been archived by the owner on Feb 9, 2021. It is now read-only.

Add radius arc #254

Merged
merged 4 commits into from
Apr 25, 2018
Merged

Add radius arc #254

merged 4 commits into from
Apr 25, 2018

Commits on Apr 19, 2018

  1. add radiusArc function

    gntech committed Apr 19, 2018
    Configuration menu
    Copy the full SHA
    6961245 View commit details
    Browse the repository at this point in the history
  2. remove testing code

    gntech committed Apr 19, 2018
    Configuration menu
    Copy the full SHA
    def14fa View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2018

  1. Do not run toWorldCoords if unneccessary, add testcases

    Since both radiusArc and sagittaArc boils down to a threePointArc in the end I want to be able to just return a threePointArc.
    This increases code reuse. However, the function toWorldCoords seems to do something strange to a vector that already is in World coordinates.
    This commit checks if the point already is an Vector before trying to make it an vector.
    
    I also refined the testcases by checking edge length and edge type.
    gntech committed Apr 22, 2018
    Configuration menu
    Copy the full SHA
    2464814 View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2018

  1. Make sagittaArc and radiusArc use local coordinates and do the conver…

    …sion to global coords only in threePointArc
    gntech committed Apr 25, 2018
    Configuration menu
    Copy the full SHA
    d75ed82 View commit details
    Browse the repository at this point in the history