struct Vector3D
(Niantic.Lightship.Maps.Core.Coordinates.Vector3D)
Overview
A double-precision vector, similar to Unity's Vector3
struct Vector3D {
// fields
readonly double X;
readonly double Y;
readonly double Z;
// properties
double Magnitude;
double MagnitudeSquared;
// methods
Vector3D(double x, double y, double z);
static Vector3D operator + (in Vector3D a, in Vector3D b);
static Vector3D operator - (in Vector3D a, in Vector3D b);
static Vector3D operator - (in Vector3D a);
static Vector3D operator * (in Vector3D a, double d);
static Vector3D operator * (double d, in Vector3D a);
static Vector3D operator/ (in Vector3D a, double d);
static static operator Vector3 (in Vector3D v);
};
Detailed Documentation
A double-precision vector, similar to Unity's Vector3
Properties
Magnitude
double Magnitude
Returns the length of this vector
MagnitudeSquared
double MagnitudeSquared
Returns the squared length of this vector