Class PointQueryInfo

    Definition

    Namespace:
    Tizen.NUI.Physics2D.Chipmunk
    Assembly:
    Tizen.NUI.Physics2D.dll

    PointQueryInfo holds the result of a point query made on a Shape or Space.

    public sealed class PointQueryInfo : IEquatable<PointQueryInfo>
    Inheritance
    object
    PointQueryInfo

    Constructors

    View Source

    PointQueryInfo(Shape, Vect, double, Vect)

    Create a PointQueryInfo.

    Declaration
    public PointQueryInfo(Shape s, Vect p, double d, Vect g)
    Parameters
    Type Name Description
    Shape s
    Vect p
    double d
    Vect g

    Properties

    View Source

    Distance

    The distance to the point. The distance is negative if the point is inside the shape.

    Declaration
    public double Distance { get; }
    Property Value
    Type Description
    double
    View Source

    Gradient

    The gradient of the signed distance function.

    Declaration
    public Vect Gradient { get; }
    Property Value
    Type Description
    Vect
    View Source

    Point

    The closest point on the shape’s surface (in world space coordinates).

    Declaration
    public Vect Point { get; }
    Property Value
    Type Description
    Vect
    View Source

    Shape

    The nearest shape, None if no shape was within range.

    Declaration
    public Shape Shape { get; }
    Property Value
    Type Description
    Shape

    Methods

    View Source

    Equals(object)

    Return true if this PointQueryInfo object is reference-equal to the given object.

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

    Equals(PointQueryInfo)

    Return true if this PointQueryInfo object's distance is within of the other and all other fields are equivalent.

    Declaration
    public bool Equals(PointQueryInfo other)
    Parameters
    Type Name Description
    PointQueryInfo other
    Returns
    Type Description
    bool
    View Source

    GetHashCode()

    Get the hash code.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    Operators

    View Source

    operator ==(PointQueryInfo, PointQueryInfo)

    Return true if this PointQueryInfo object is reference-equal to the given object.

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

    operator !=(PointQueryInfo, PointQueryInfo)

    Return true if this PointQueryInfo object is not reference-equal to the given object.

    Declaration
    public static bool operator !=(PointQueryInfo a, PointQueryInfo b)
    Parameters
    Type Name Description
    PointQueryInfo a
    PointQueryInfo b
    Returns
    Type Description
    bool

    Extension Methods

    EXamlExtensions.LoadFromEXamlByRelativePath<T>(T, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, Type)
    Extensions.LoadFromXamlFile<TXaml>(TXaml, string)
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX