pythagoras.f

• Method Summary

All Methods
Modifier and Type Method and Description
`QuadCurve` `clone()`
Returns a mutable copy of this curve.
`Point` `ctrlP()`
Returns a copy of the control point of this curve.
`float` `ctrlX()`
Returns the x-coordinate of the control point.
`float` `ctrlY()`
Returns the y-coordinate of the control point.
`float` `flatness()`
Returns the flatness (maximum distance of a control point from the line connecting the end points) of this curve.
`float` `flatnessSq()`
Returns the square of the flatness (maximum distance of a control point from the line connecting the end points) of this curve.
`Point` `p1()`
Returns a copy of the starting point of this curve.
`Point` `p2()`
Returns a copy of the ending point of this curve.
`void` ```subdivide(QuadCurve left, QuadCurve right)```
Subdivides this curve and stores the results into `left` and `right`.
`float` `x1()`
Returns the x-coordinate of the start of this curve.
`float` `x2()`
Returns the x-coordinate of the end of this curve.
`float` `y1()`
Returns the y-coordinate of the start of this curve.
`float` `y2()`
Returns the y-coordinate of the end of this curve.
• Methods inherited from interface pythagoras.f.IShape

`bounds, bounds, contains, contains, contains, contains, intersects, intersects, isEmpty, pathIterator, pathIterator`
• Method Detail

• x1

`float x1()`
Returns the x-coordinate of the start of this curve.
• y1

`float y1()`
Returns the y-coordinate of the start of this curve.
• ctrlX

`float ctrlX()`
Returns the x-coordinate of the control point.
• ctrlY

`float ctrlY()`
Returns the y-coordinate of the control point.
• x2

`float x2()`
Returns the x-coordinate of the end of this curve.
• y2

`float y2()`
Returns the y-coordinate of the end of this curve.
• p1

`Point p1()`
Returns a copy of the starting point of this curve.
• ctrlP

`Point ctrlP()`
Returns a copy of the control point of this curve.
• p2

`Point p2()`
Returns a copy of the ending point of this curve.
• flatnessSq

`float flatnessSq()`
Returns the square of the flatness (maximum distance of a control point from the line connecting the end points) of this curve.
• flatness

`float flatness()`
Returns the flatness (maximum distance of a control point from the line connecting the end points) of this curve.
• subdivide

```void subdivide(QuadCurve left,
Subdivides this curve and stores the results into `left` and `right`.
`QuadCurve clone()`