( cx, cy, radius, theta )
| 71 | } |
| 72 | |
| 73 | static calcPointOnCircle( cx, cy, radius, theta ){ |
| 74 | const x = Math.cos( theta ) * radius + cx; |
| 75 | const y = Math.sin( theta ) * radius + cy; |
| 76 | return { x, y }; |
| 77 | } |
| 78 | |
| 79 | static calcAngleFromXAxis( org, pt ){ |
| 80 | const x = pt.x - org.x; |
no outgoing calls
no test coverage detected