Class ContactPointSet

    Definition

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

    Contact point sets make getting contact information simpler. There can be at most 2 contact points.

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

    Properties

    View Source

    Count

    Get the number of contact points in the contact set (maximum of two).

    Declaration
    public int Count { get; }
    Property Value
    Type Description
    int
    View Source

    Normal

    Get the normal of the collision.

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

    Points

    List of points in the contact point set

    Declaration
    public IReadOnlyList<ContactPoint> Points { get; }
    Property Value
    Type Description
    IReadOnlyList<><ContactPoint>

    Methods

    View Source

    Equals(object)

    Return true if the ContactPointSet is sequence-equal to another.

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

    Equals(ContactPointSet)

    Return true if the contact point set is sequence-equal to another.

    Declaration
    public bool Equals(ContactPointSet other)
    Parameters
    Type Name Description
    ContactPointSet 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 ==(ContactPointSet, ContactPointSet)

    Return true if the contact point sets are sequence-equal.

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

    operator !=(ContactPointSet, ContactPointSet)

    Return true if the contact point sets are sequence-inequal.

    Declaration
    public static bool operator !=(ContactPointSet left, ContactPointSet right)
    Parameters
    Type Name Description
    ContactPointSet left
    ContactPointSet right
    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