|
LiveMap API
|
Represents a point on the map. More...
Public Member Functions | |
| Point (double[] arr) | |
| Create a new point from a coordinate array. | |
| Point (double x, double z) | |
| Create a new point from coordinates. | |
| Point | Add (double num) |
| Adds the specified amount to the point's axis values. | |
| Point | Add (Point point) |
| Adds the specified point's axis values to this point's axis values. | |
| Point | Subtract (double num) |
| Subtracts the specified amount to the point's axis values. | |
| Point | Subtract (Point point) |
| Subtracts the specified point's axis values to this point's axis values. | |
| Point | Multiply (double num) |
| Multiplies the specified amount to the point's axis values. | |
| Point | Multiply (Point point) |
| Multiplies the specified point's axis values to this point's axis values. | |
| Point | Divide (double num) |
| Divides the specified amount to the point's axis values. | |
| Point | Divide (Point point) |
| Divides the specified point's axis values from this point's axis values. | |
| Point | Ceil () |
| Round the point values up to the nearest integer. | |
| Point | Floor () |
| Round the point values down to the nearest integer. | |
| Point | Round () |
| Round the point values to the nearest integer. | |
| override bool | Equals (object? obj) |
| bool | Equals (double x, double z) |
| Determines whether the specified values are equal to the current object's values. | |
| override string | ToString () |
| override int | GetHashCode () |
Static Public Member Functions | |
| static implicit | operator Point (double[] value) |
| static implicit | operator double[] (Point value) |
| static Point | operator+ (Point left, Point right) |
| static Point | operator+ (Point left, double right) |
| static Point | operator+ (double left, Point right) |
| static Point | operator- (Point left, Point right) |
| static Point | operator- (Point left, double right) |
| static Point | operator- (double left, Point right) |
| static Point | operator* (Point left, Point right) |
| static Point | operator* (Point left, double right) |
| static Point | operator* (double left, Point right) |
| static Point | operator/ (Point left, Point right) |
| static Point | operator/ (Point left, double right) |
| static Point | operator/ (double left, Point right) |
| static bool | operator== (Point? left, Point? right) |
| static bool | operator!= (Point? left, Point? right) |
Properties | |
| double | X [get] |
| The value of the X axis of this point. | |
| double | Z [get] |
| The value of the Z axis of this point. | |
| double | this[int index] [get] |
| Get the axis value of the specified index. | |
Represents a point on the map.
|
inline |
Create a new point from a coordinate array.
| arr |
|
inline |
Create a new point from coordinates.
| x | |
| z |
| Point livemap.data.Point.Add | ( | double | num | ) |
Adds the specified amount to the point's axis values.
| num | The value to add to the point's axis values |
Adds the specified point's axis values to this point's axis values.
| point | The point to add to this point's axis values |
| Point livemap.data.Point.Ceil | ( | ) |
Round the point values up to the nearest integer.
| Point livemap.data.Point.Divide | ( | double | num | ) |
Divides the specified amount to the point's axis values.
| num | The value to divide to the point's axis values |
Divides the specified point's axis values from this point's axis values.
| point | The point to divide from this point's axis values |
| bool livemap.data.Point.Equals | ( | double | x, |
| double | z ) |
Determines whether the specified values are equal to the current object's values.
| x | The x value to compare with the current object |
| z | The z value to compare with the current object |
true if the specified values are equal to the current object's values| override bool livemap.data.Point.Equals | ( | object? | obj | ) |
| Point livemap.data.Point.Floor | ( | ) |
Round the point values down to the nearest integer.
| override int livemap.data.Point.GetHashCode | ( | ) |
| Point livemap.data.Point.Multiply | ( | double | num | ) |
Multiplies the specified amount to the point's axis values.
| num | The value to multiply to the point's axis values |
Multiplies the specified point's axis values to this point's axis values.
| point | The point to multiply to this point's axis values |
|
static |
|
static |
| Point livemap.data.Point.Round | ( | ) |
Round the point values to the nearest integer.
| Point livemap.data.Point.Subtract | ( | double | num | ) |
Subtracts the specified amount to the point's axis values.
| num | The value to subtract to the point's axis values |
Subtracts the specified point's axis values to this point's axis values.
| point | The point to subtract to this point's axis values |
| override string livemap.data.Point.ToString | ( | ) |
|
get |
Get the axis value of the specified index.
| index | Index of axis |
Index 0 represents axis X
Index 1 represents axis Z
| ArgumentOutOfRangeException |
|
get |
The value of the X axis of this point.
|
get |
The value of the Z axis of this point.