The geometric types defined below must have a default constructor, copy constructor, assignment operator and operator==.
|
| |||
|
A type to hold the location of a vertex in the plane.
| |||
|
| |||
|
A type to hold an -monotone curve in the plane.
| |||
| |||
|
a constant describing the relative position between
a curve and a point.
| |||
|
| |
|
A default constructor.
| |
|
|
| |||
| compares the x-coordinates of and . Return LARGER if , SMALLER if , or else EQUAL. | ||||
|
|
| |||
| compares the y-coordinates of and . | ||||
|
|
| |||
| returns true if cv is a vertical segment. | ||||
|
|
| |||
| returns true if pnt is in the range of cv. | ||||
|
|
| |||
| compares the -coordinate of and at the -coordinate of . Return EQUAL if at least one of and is not defined at 's -coordinate. | ||||
|
|
| |||
| compares the -coordinate of and immediately to the left of the -coordinate of . Return EQUAL if at least one of and is not defined to the left of 's -coordinate. | ||||
|
|
| |||
| compares the -coordinate of and immediately to the right of the -coordinate of . Return EQUAL if at least one of and is not defined to the right of 's -coordinate. | ||||
|
|
| |||
returns a constant describing the
relative position between and :
| ||||
|
|
| |||
| given three curves that share an endpoint , returns if is between and , when going in the clockwise direction around from to . | ||||
|
|
| |||
| returns true if cv1 is the same as cv2. | ||||
|
|
| |||
| returns the source of cv. | ||||
|
|
| |||
| returns the target of cv. | ||||
|
|
| |||
| returns a point to the left of p. | ||||
|
|
| |||
| returns a point to the right of p. | ||||