Class Point3D
Inheritance
System.Object
Point3D
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: fo-dicom.core.dll
Syntax
Constructors
Point3D()
Declaration
Point3D(Point3D)
Declaration
public Point3D(Point3D v)
Parameters
Point3D(Double, Double, Double)
Declaration
public Point3D(double x, double y, double z)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
System.Double |
y |
|
System.Double |
z |
|
Point3D(Double[])
Declaration
public Point3D(double[] v)
Parameters
Type |
Name |
Description |
System.Double[] |
v |
|
Point3D(Double[], Int32)
Declaration
public Point3D(double[] v, int start)
Parameters
Type |
Name |
Description |
System.Double[] |
v |
|
System.Int32 |
start |
|
Point3D(Int32, Int32, Int32)
Declaration
public Point3D(int x, int y, int z)
Parameters
Type |
Name |
Description |
System.Int32 |
x |
|
System.Int32 |
y |
|
System.Int32 |
z |
|
Point3D(Int32[])
Declaration
Parameters
Type |
Name |
Description |
System.Int32[] |
v |
|
Point3D(Int32[], Int32)
Declaration
public Point3D(int[] v, int start)
Parameters
Type |
Name |
Description |
System.Int32[] |
v |
|
System.Int32 |
start |
|
Point3D(Single, Single, Single)
Declaration
public Point3D(float x, float y, float z)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
System.Single |
y |
|
System.Single |
z |
|
Point3D(Single[])
Declaration
public Point3D(float[] v)
Parameters
Type |
Name |
Description |
System.Single[] |
v |
|
Point3D(Single[], Int32)
Declaration
public Point3D(float[] v, int start)
Parameters
Type |
Name |
Description |
System.Single[] |
v |
|
System.Int32 |
start |
|
Fields
Zero
Declaration
public static readonly Point3D Zero
Field Value
Properties
X
Declaration
public double X { get; set; }
Property Value
Type |
Description |
System.Double |
|
Y
Declaration
public double Y { get; set; }
Property Value
Type |
Description |
System.Double |
|
Z
Declaration
public double Z { get; set; }
Property Value
Type |
Description |
System.Double |
|
Methods
Clone()
Declaration
Returns
Distance(Point3D)
Declaration
public double Distance(Point3D b)
Parameters
Returns
Type |
Description |
System.Double |
|
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.Object.Equals(System.Object)
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.Object.GetHashCode()
Move(Vector3D, Double)
Declaration
public Point3D Move(Vector3D axis, double distance)
Parameters
Type |
Name |
Description |
Vector3D |
axis |
|
System.Double |
distance |
|
Returns
ToArray()
Declaration
public double[] ToArray()
Returns
Type |
Description |
System.Double[] |
|
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()
ToVector()
Declaration
public Vector3D ToVector()
Returns
Operators
Addition(Point3D, Vector3D)
Declaration
public static Point3D operator +(Point3D p, Vector3D v)
Parameters
Returns
Equality(Point3D, Point3D)
Declaration
public static bool operator ==(Point3D a, Point3D b)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Inequality(Point3D, Point3D)
Declaration
public static bool operator !=(Point3D a, Point3D b)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Subtraction(Point3D, Point3D)
Declaration
public static Vector3D operator -(Point3D a, Point3D b)
Parameters
Returns
Extension Methods