LuciadCPillar C# 2024.0.04
|
A "POD" for a 3D coordinate. More...
Public Member Functions | |
Coordinate (double x, double y, double z=0.0) | |
Constructs a coordinate with the provide values for x , y , and z . More... | |
bool | Equals (Coordinate other) |
override bool | Equals (object other) |
override int | GetHashCode () |
Returns the hash for this coordinate. More... | |
override string | ToString () |
Static Public Member Functions | |
static bool | operator!= (Coordinate lhs, Coordinate rhs) |
static Coordinate | operator* (Coordinate lhs, double factor) |
static Coordinate | operator+ (Coordinate lhs, Coordinate rhs) |
static Coordinate | operator- (Coordinate lhs, Coordinate rhs) |
static Coordinate | operator/ (Coordinate lhs, double factor) |
static bool | operator== (Coordinate lhs, Coordinate rhs) |
Properties | |
double | X [get] |
The x value of the coordinate. More... | |
double | Y [get] |
The y value of the coordinate. More... | |
double | Z [get] |
The z value of the coordinate. More... | |
A "POD" for a 3D coordinate.
Not a geometry, to be used as primitive in geometries.
|
inline |
Constructs a coordinate with the provide values for x
, y
, and z
.
x | the x value of the coordinate. |
y | the y value of the coordinate. |
z | the z value of the coordinate. |
|
inline |
|
inline |
|
inline |
Returns the hash for this coordinate.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
get |
The x value of the coordinate.
The x value of the coordinate.
|
get |
The y value of the coordinate.
The y value of the coordinate.
|
get |
The z value of the coordinate.
The z value of the coordinate.