holoride
Search Results for

    Show / Hide Table of Contents

    Struct GlobalPose

    Stores a position with double precision and a look rotation.

    Namespace: Holoride.ElasticSDK
    Assembly: Holoride.ElasticSDK.Library.Runtime.dll
    Syntax
    [Serializable]
    public struct GlobalPose

    Constructors

    GlobalPose(GlobalPosition, Quaternion)

    Creates a new double precision pose from the specified position and rotation.

    Declaration
    public GlobalPose(GlobalPosition position, Quaternion rotation)
    Parameters
    Type Name Description
    GlobalPosition position

    The position of the pose.

    Quaternion rotation

    The rotation of the pose.

    Fields

    Position

    The position.

    Declaration
    public GlobalPosition Position
    Field Value
    Type Description
    GlobalPosition

    Rotation

    The rotation.

    Declaration
    public Quaternion Rotation
    Field Value
    Type Description
    Quaternion

    Methods

    Create(GlobalPosition, Quaternion)

    Creates a new double precision pose from the specified position and rotation.

    Declaration
    public static GlobalPose Create(GlobalPosition position, Quaternion rotation)
    Parameters
    Type Name Description
    GlobalPosition position

    The position of the pose.

    Quaternion rotation

    The rotation of the pose.

    Returns
    Type Description
    GlobalPose

    A pose with the specified position and rotation.

    Equals(GlobalPose)

    Indicates whether the current object is equal to another object of the same type.

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

    An object to compare with this object.

    Returns
    Type Description
    bool

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

    Equals(object)

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

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

    The object to compare with the current object.

    Returns
    Type Description
    bool

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

    Overrides
    ValueType.Equals(Object)

    GetHashCode()

    Serves as the default hash function.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    A hash code for the current object.

    Overrides
    ValueType.GetHashCode()

    ToShiftedPose()

    Shifts the double precision pose into single precision shifted space using the global shift offset.

    Declaration
    public Pose ToShiftedPose()
    Returns
    Type Description
    Pose

    The floating point precision pose in un-shifted space.

    ToString()

    Returns a string that represents the current object.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    A string that represents the current object.

    Overrides
    ValueType.ToString()

    Operators

    operator ==(GlobalPose, GlobalPose)

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

    operator !=(GlobalPose, GlobalPose)

    Declaration
    public static bool operator !=(GlobalPose left, GlobalPose right)
    Parameters
    Type Name Description
    GlobalPose left
    GlobalPose right
    Returns
    Type Description
    bool
    In This Article

    Back to top
    ©   holoride
    Privacy   Imprint