Fellow Oak DICOM
Search Results for

    Show / Hide Table of Contents

    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)
    Namespace: FellowOakDicom.Imaging.Mathematics
    Assembly: fo-dicom.core.dll
    Syntax
    public class Point3D

    Constructors

    Point3D()

    Declaration
    public Point3D()

    Point3D(Point3D)

    Declaration
    public Point3D(Point3D v)
    Parameters
    Type Name Description
    Point3D v

    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
    public Point3D(int[] v)
    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
    Type Description
    Point3D

    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
    public Point3D Clone()
    Returns
    Type Description
    Point3D

    Distance(Point3D)

    Declaration
    public double Distance(Point3D b)
    Parameters
    Type Name Description
    Point3D b
    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
    Type Description
    Point3D

    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
    Type Description
    Vector3D

    Operators

    Addition(Point3D, Vector3D)

    Declaration
    public static Point3D operator +(Point3D p, Vector3D v)
    Parameters
    Type Name Description
    Point3D p
    Vector3D v
    Returns
    Type Description
    Point3D

    Equality(Point3D, Point3D)

    Declaration
    public static bool operator ==(Point3D a, Point3D b)
    Parameters
    Type Name Description
    Point3D a
    Point3D b
    Returns
    Type Description
    System.Boolean

    Inequality(Point3D, Point3D)

    Declaration
    public static bool operator !=(Point3D a, Point3D b)
    Parameters
    Type Name Description
    Point3D a
    Point3D b
    Returns
    Type Description
    System.Boolean

    Subtraction(Point3D, Point3D)

    Declaration
    public static Vector3D operator -(Point3D a, Point3D b)
    Parameters
    Type Name Description
    Point3D a
    Point3D b
    Returns
    Type Description
    Vector3D

    Extension Methods

    LinqExtensions.IsOneOf<T>(T, T[])
    In This Article
    Back to top Copyright (c) 2012-2025 fo-dicom contributors