ScottPlot
|
Represents a range of values between two coordinates on a single axis. More...
Public Member Functions | |
CoordinateRangeMutable (double min, double max) | |
override string | ToString () |
bool | Contains (double position) |
Returns true if the given position is within the range (inclusive) | |
void | Expand (double value) |
Expand the range if needed to include the given point. | |
void | Expand (CoordinateRangeMutable range) |
Expand this range if needed to ensure the given range is included. | |
void | Expand (CoordinateRange range) |
Expand this range if needed to ensure the given range is included. | |
void | Reset () |
Reset this range to inverted infinite values to indicate the range has not yet been set. | |
void | Set (double min, double max) |
void | Set (CoordinateRange range) |
void | Set (CoordinateRangeMutable range) |
void | Set (IAxis otherAxis) |
void | Pan (double delta) |
void | PanMouse (float mouseDeltaPx, float dataSizePx) |
void | ZoomFrac (double frac) |
void | ZoomOut (double multiple) |
void | ZoomMouseDelta (float deltaPx, float dataSizePx) |
void | ZoomFrac (double frac, double zoomTo) |
bool | Equals (CoordinateRangeMutable? other) |
override bool | Equals (object? obj) |
override int | GetHashCode () |
Static Public Member Functions | |
static bool | operator== (CoordinateRangeMutable a, CoordinateRangeMutable b) |
static bool | operator!= (CoordinateRangeMutable a, CoordinateRangeMutable b) |
Properties | |
double | Min [get, set] |
double | Max [get, set] |
double | Center [get] |
double | Span [get] |
bool | HasBeenSet [get] |
CoordinateRange | ToCoordinateRange [get] |
CoordinateRange | ToRectifiedCoordinateRange [get] |
static CoordinateRangeMutable | Infinity [get] |
static CoordinateRangeMutable | NotSet [get] |
This infinite inverted range is used to indicate a range that has not yet been set. | |
Represents a range of values between two coordinates on a single axis.
|
inline |
|
inline |
Returns true if the given position is within the range (inclusive)
|
inline |
|
inline |
|
inline |
Expand this range if needed to ensure the given range is included.
|
inline |
Expand this range if needed to ensure the given range is included.
|
inline |
Expand the range if needed to include the given point.
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
Reset this range to inverted infinite values to indicate the range has not yet been set.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
get |
|
get |
|
staticget |
|
getset |
|
getset |
|
staticget |
This infinite inverted range is used to indicate a range that has not yet been set.
|
get |
|
get |
|
get |