Search Results for

    Show / Hide Table of Contents

    Struct Point3d

    Represents a 3D point with double-precision floating-point coordinates.

    Implements
    IEquatable<Point3d>
    Namespace: OpenCV.Net
    Assembly: OpenCV.Net.dll
    Syntax
    public struct Point3d : IEquatable<Point3d>

    Constructors

    | Improve this Doc View Source

    Point3d(Double, Double, Double)

    Initializes a new instance of the Point3d structure from the specified coordinates.

    Declaration
    public Point3d(double x, double y, double z)
    Parameters
    Type Name Description
    Double x

    The x-coordinate of the point.

    Double y

    The y-coordinate of the point.

    Double z

    The z-coordinate of the point.

    Fields

    | Improve this Doc View Source

    X

    The x-coordinate of the point.

    Declaration
    public double X
    Field Value
    Type Description
    Double
    | Improve this Doc View Source

    Y

    The y-coordinate of the point.

    Declaration
    public double Y
    Field Value
    Type Description
    Double
    | Improve this Doc View Source

    Z

    The z-coordinate of the point.

    Declaration
    public double Z
    Field Value
    Type Description
    Double

    Properties

    | Improve this Doc View Source

    Zero

    Returns a Point3d that has X, Y and Z values set to zero.

    Declaration
    public static Point3d Zero { get; }
    Property Value
    Type Description
    Point3d

    Methods

    | Improve this Doc View Source

    Equals(Point3d)

    Returns a value indicating whether this instance has the same coordinates as a specified Point3d structure.

    Declaration
    public bool Equals(Point3d other)
    Parameters
    Type Name Description
    Point3d other

    The Point3d structure to compare to this instance.

    Returns
    Type Description
    Boolean

    true if other has the same X, Y and Z coordinates as this instance; otherwise, false.

    | Improve this Doc View Source

    Equals(Object)

    Tests to see whether the specified object is a Point3d structure with the same coordinates as this Point3d structure.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    Object obj

    The to test.

    Returns
    Type Description
    Boolean

    true if obj is a Point3d and has the same X, Y and Z coordinates as this Point3d; otherwise, false.

    | Improve this Doc View Source

    GetHashCode()

    Returns a hash code for this Point3d structure.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32

    An integer value that specifies a hash value for this Point3d structure.

    | Improve this Doc View Source

    ToString()

    Creates a representation of this Point3d structure.

    Declaration
    public override string ToString()
    Returns
    Type Description
    String

    A containing the X, Y and Z values of this Point3d structure.

    Operators

    | Improve this Doc View Source

    Addition(Point3d, Point3d)

    Adds two Point3d structures.

    Declaration
    public static Point3d operator +(Point3d left, Point3d right)
    Parameters
    Type Name Description
    Point3d left

    The Point3d structure on the left of the addition operator.

    Point3d right

    The Point3d structure on the right of the addition operator.

    Returns
    Type Description
    Point3d

    The Point3d that is the result of adding the left and right points.

    | Improve this Doc View Source

    Equality(Point3d, Point3d)

    Tests whether two Point3d structures are equal.

    Declaration
    public static bool operator ==(Point3d left, Point3d right)
    Parameters
    Type Name Description
    Point3d left

    The Point3d structure on the left of the equality operator.

    Point3d right

    The Point3d structure on the right of the equality operator.

    Returns
    Type Description
    Boolean

    true if left and right have equal X, Y and Z coordinates; otherwise, false.

    | Improve this Doc View Source

    Inequality(Point3d, Point3d)

    Tests whether two Point3d structures are different.

    Declaration
    public static bool operator !=(Point3d left, Point3d right)
    Parameters
    Type Name Description
    Point3d left

    The Point3d structure on the left of the inequality operator.

    Point3d right

    The Point3d structure on the right of the inequality operator.

    Returns
    Type Description
    Boolean

    true if left and right differ in X, Y or Z coordinates; false if left and right are equal.

    | Improve this Doc View Source

    Multiply(Point3d, Single)

    Multiplies a Point3d structure by an integer scalar.

    Declaration
    public static Point3d operator *(Point3d point, float scalar)
    Parameters
    Type Name Description
    Point3d point

    The Point3d structure to multiply by the scalar.

    Single scalar

    The scalar by which to multiply the point.

    Returns
    Type Description
    Point3d

    The Point3d that is the result of multiplying point by scalar.

    | Improve this Doc View Source

    Multiply(Single, Point3d)

    Multiplies a Point3d structure by an integer scalar.

    Declaration
    public static Point3d operator *(float scalar, Point3d point)
    Parameters
    Type Name Description
    Single scalar

    The scalar by which to multiply the point.

    Point3d point

    The Point3d structure to multiply by the scalar.

    Returns
    Type Description
    Point3d

    The Point3d that is the result of multiplying point by scalar.

    | Improve this Doc View Source

    Subtraction(Point3d, Point3d)

    Subtracts two Point3d structures.

    Declaration
    public static Point3d operator -(Point3d left, Point3d right)
    Parameters
    Type Name Description
    Point3d left

    The Point3d structure on the left of the subtraction operator.

    Point3d right

    The Point3d structure on the right of the subtraction operator.

    Returns
    Type Description
    Point3d

    The Point3d that is the result of subtracting the left and right points.

    | Improve this Doc View Source

    UnaryNegation(Point3d)

    Returns the inversion with respect to the origin of the specified Point3d structure.

    Declaration
    public static Point3d operator -(Point3d point)
    Parameters
    Type Name Description
    Point3d point

    The Point3d structure for which to compute the inversion.

    Returns
    Type Description
    Point3d

    The Point3d that is the result of inverting point with respect to the origin.

    Implements

    IEquatable<>
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX