|
oevislib_net
0.14.3.0
|
Compressed representation of a contiguous series of points with the same y coordinate. More...
Public Member Functions | |
| PointsSequence () | |
| Creates an empty PointsSequence in (0, 0). | |
| PointsSequence (int inX, int inY, int inLength) | |
| Creates a new PointsSequence object. | |
| Point2Di | Begin () |
| Returns the first point of the sequence. | |
| Point2Di | End () |
| Returns the last point (not included) of the sequence. | |
| int | GetEnd () |
| Returns the last x coordinate (not included) of the sequence. | |
| bool | Contains (Point2Di inPosition) |
| Checks if the given point is contained inside the points sequence. | |
| bool | Equals (PointsSequence other) |
| override bool | Equals (object obj) |
| override int | GetHashCode () |
| override object | Clone () |
Static Public Member Functions | |
| static bool | operator== (PointsSequence inPointsSequence1, PointsSequence inPointsSequence2) |
| static bool | operator!= (PointsSequence inPointsSequence1, PointsSequence inPointsSequence2) |
| static bool | operator< (PointsSequence inPointsSequence1, PointsSequence inPointsSequence2) |
| static bool | operator> (PointsSequence inPointsSequence1, PointsSequence inPointsSequence2) |
Properties | |
| int | X [get, set] |
| int | Y [get, set] |
| int | L [get, set] |
Compressed representation of a contiguous series of points with the same y coordinate.
|
inline |
Creates an empty PointsSequence in (0, 0).
|
inline |
Creates a new PointsSequence object.
| inX | X coordinate. |
| inY | Y coordinate. |
| inLength | Length on X axis. Range: [0, +inf). |
|
inline |
Returns the first point of the sequence.
|
inline |
Checks if the given point is contained inside the points sequence.
| inPosition | The point to check for containment. |
|
inline |
Returns the last point (not included) of the sequence.
|
inline |
Returns the last x coordinate (not included) of the sequence.