Class Point3D
- Namespace
- FellowOakDicom.Imaging.Mathematics
- Assembly
- fo-dicom.core.dll
public class Point3D
- Inheritance
-
Point3D
- Inherited Members
- Extension Methods
Constructors
Point3D()
public Point3D()
Point3D(Point3D)
public Point3D(Point3D v)
Parameters
vPoint3D
Point3D(double, double, double)
public Point3D(double x, double y, double z)
Parameters
Point3D(double[])
public Point3D(double[] v)
Parameters
vdouble[]
Point3D(double[], int)
public Point3D(double[] v, int start)
Parameters
Point3D(int, int, int)
public Point3D(int x, int y, int z)
Parameters
Point3D(int[])
public Point3D(int[] v)
Parameters
vint[]
Point3D(int[], int)
public Point3D(int[] v, int start)
Parameters
Point3D(float, float, float)
public Point3D(float x, float y, float z)
Parameters
Point3D(float[])
public Point3D(float[] v)
Parameters
vfloat[]
Point3D(float[], int)
public Point3D(float[] v, int start)
Parameters
Fields
Zero
public static readonly Point3D Zero
Field Value
Properties
X
public double X { get; set; }
Property Value
Y
public double Y { get; set; }
Property Value
Z
public double Z { get; set; }
Property Value
Methods
Clone()
public Point3D Clone()
Returns
Distance(Point3D)
public double Distance(Point3D b)
Parameters
bPoint3D
Returns
Equals(object)
Determines whether the specified object is equal to the current object.
public override bool Equals(object obj)
Parameters
objobjectThe object to compare with the current object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
Move(Vector3D, double)
public Point3D Move(Vector3D axis, double distance)
Parameters
Returns
ToArray()
public double[] ToArray()
Returns
- double[]
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.
ToVector()
public Vector3D ToVector()
Returns
Operators
operator +(Point3D, Vector3D)
public static Point3D operator +(Point3D p, Vector3D v)
Parameters
Returns
operator ==(Point3D, Point3D)
public static bool operator ==(Point3D a, Point3D b)
Parameters
Returns
operator !=(Point3D, Point3D)
public static bool operator !=(Point3D a, Point3D b)
Parameters
Returns
operator -(Point3D, Point3D)
public static Vector3D operator -(Point3D a, Point3D b)