Table of Contents

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

v Point3D

Point3D(double, double, double)

public Point3D(double x, double y, double z)

Parameters

x double
y double
z double

Point3D(double[])

public Point3D(double[] v)

Parameters

v double[]

Point3D(double[], int)

public Point3D(double[] v, int start)

Parameters

v double[]
start int

Point3D(int, int, int)

public Point3D(int x, int y, int z)

Parameters

x int
y int
z int

Point3D(int[])

public Point3D(int[] v)

Parameters

v int[]

Point3D(int[], int)

public Point3D(int[] v, int start)

Parameters

v int[]
start int

Point3D(float, float, float)

public Point3D(float x, float y, float z)

Parameters

x float
y float
z float

Point3D(float[])

public Point3D(float[] v)

Parameters

v float[]

Point3D(float[], int)

public Point3D(float[] v, int start)

Parameters

v float[]
start int

Fields

Zero

public static readonly Point3D Zero

Field Value

Point3D

Properties

X

public double X { get; set; }

Property Value

double

Y

public double Y { get; set; }

Property Value

double

Z

public double Z { get; set; }

Property Value

double

Methods

Clone()

public Point3D Clone()

Returns

Point3D

Distance(Point3D)

public double Distance(Point3D b)

Parameters

b Point3D

Returns

double

Equals(object)

Determines whether the specified object is equal to the current object.

public override bool Equals(object obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

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

axis Vector3D
distance double

Returns

Point3D

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

Vector3D

Operators

operator +(Point3D, Vector3D)

public static Point3D operator +(Point3D p, Vector3D v)

Parameters

p Point3D
v Vector3D

Returns

Point3D

operator ==(Point3D, Point3D)

public static bool operator ==(Point3D a, Point3D b)

Parameters

a Point3D
b Point3D

Returns

bool

operator !=(Point3D, Point3D)

public static bool operator !=(Point3D a, Point3D b)

Parameters

a Point3D
b Point3D

Returns

bool

operator -(Point3D, Point3D)

public static Vector3D operator -(Point3D a, Point3D b)

Parameters

a Point3D
b Point3D

Returns

Vector3D