|
ScottPlot
|
Represents a point in coordinate space (X and Y axis units) More...
Public Member Functions | |
| Coordinates (double x, double y) | |
| Define a new coordinate at the given X and Y location (in axis units) | |
| double | DistanceSquared (Coordinates pt) |
| double | Distance (Coordinates pt) |
| override string | ToString () |
| bool | Equals (Coordinates other) |
| override bool | Equals (object? obj) |
| override int | GetHashCode () |
| CoordinateRect | ToRect (double radiusX, double radiusY) |
| CoordinateRect | ToRect (double radius) |
| Coordinates | WithDelta (double dX, double dY) |
| readonly (double X, double Y) Deconstruct() | |
Static Public Member Functions | |
| static Coordinates[] | Zip (double[] xs, double[] ys) |
| Create an array of coordinates from individual arrays of X and Y positions. | |
| static bool | operator== (Coordinates a, Coordinates b) |
| static bool | operator!= (Coordinates a, Coordinates b) |
| static Coordinates | operator+ (Coordinates a, Coordinates b) |
Properties | |
| double | X [get, set] |
| double | Y [get, set] |
| bool | AreReal [get] |
| static Coordinates | NaN [get] |
| static Coordinates | Zero [get] |
| static Coordinates | Origin [get] |
| static Coordinates | Infinity [get] |
| readonly Coordinates | Rotated [get] |
| The inverse of the present coordinate. E.g., the point (X, Y) becomes (Y, X). | |
Represents a point in coordinate space (X and Y axis units)
|
inline |
Define a new coordinate at the given X and Y location (in axis units)
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
| ScottPlot.Coordinates.readonly | ( | double | X, |
| double | Y | ||
| ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
Create an array of coordinates from individual arrays of X and Y positions.
|
get |
|
staticget |
|
staticget |
|
staticget |
|
get |
The inverse of the present coordinate. E.g., the point (X, Y) becomes (Y, X).
|
getset |
|
getset |
|
staticget |