Show / Hide Table of Contents

    Struct Point3D

    Definition

    Namespace:
    ElmSharp
    Assembly:
    ElmSharp.dll
    API Level:
    preview

    The Point3D is a struct that defines a 3D point.

    public struct Point3D : IEquatable<Point3D>
    Implements
    IEquatable<Point3D>

    Fields

    View Source

    X

    The X-coordinate of a 3D point.

    Declaration
    public int X
    Field Value
    Type Description
    Int32
    API Level: preview
    View Source

    Y

    The Y-coordinate of a 3D point.

    Declaration
    public int Y
    Field Value
    Type Description
    Int32
    API Level: preview
    View Source

    Z

    The Z-coordinate of a 3D point.

    Declaration
    public int Z
    Field Value
    Type Description
    Int32
    API Level: preview

    Methods

    View Source

    Equals(Point3D)

    Indicates whether this instance and a Point3D object are equal.

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

    The Point3D to compare with the current instance.

    Returns
    Type Description
    Boolean

    true if the object and this instance are of the same type and represent the same value. otherwise, false.

    API Level: preview
    View Source

    Equals(Object)

    Indicates whether this instance and a specified object are equal.

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

    The object to compare with the current instance.

    Returns
    Type Description
    Boolean

    true if the object and this instance are of the same type and represent the same value, otherwise false.

    Overrides
    ValueType.Equals(Object)
    API Level: preview
    View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32
    Overrides
    ValueType.GetHashCode()
    API Level: preview
    View Source

    ToString()

    A human-readable representation of Point3D.

    Declaration
    public override string ToString()
    Returns
    Type Description
    String

    The string is formatted as "{{X={0} Y={1} Z={2}}}".

    Overrides
    ValueType.ToString()
    API Level: preview

    Operators

    View Source

    Equality(Point3D, Point3D)

    Whether both Point3Ds are equal.

    Declaration
    public static bool operator ==(Point3D p1, Point3D p2)
    Parameters
    Type Name Description
    Point3D p1

    A Point3D on the left hand side.

    Point3D p2

    A Point3D on the right hand side.

    Returns
    Type Description
    Boolean

    True if both Point3Ds have equal values.

    API Level: preview
    View Source

    Inequality(Point3D, Point3D)

    Whether both Point3Ds are not equal.

    Declaration
    public static bool operator !=(Point3D p1, Point3D p2)
    Parameters
    Type Name Description
    Point3D p1

    A Point3D on the left hand side.

    Point3D p2

    A Point3D on the right hand side.

    Returns
    Type Description
    Boolean

    True if both Point3Ds do not have equal values.

    API Level: preview

    Implements

    System.IEquatable<T>
    • View Source
    Back to top Copyright © 2016-2020 Samsung
    Generated by DocFX