Class PointQueryInfo
Definition
- Namespace:
- Tizen.NUI.Physics2D.Chipmunk
- Assembly:
- Tizen.NUI.Physics2D.dll
public sealed class PointQueryInfo : IEquatable<PointQueryInfo>
- Inheritance
-
Constructors
View Source
PointQueryInfo(Shape, Vect, double, Vect)
Declaration
public PointQueryInfo(Shape s, Vect p, double d, Vect g)
Parameters
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
View Source
Gradient
The gradient of the signed distance function.
Declaration
public Vect Gradient { get; }
Property Value
View Source
Point
The closest point on the shape’s surface (in world space coordinates).
Declaration
public Vect Point { get; }
Property Value
View Source
Shape
The nearest shape, None if no shape was within range.
Declaration
public Shape Shape { get; }
Property Value
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
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
Returns
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
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
Returns
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
Returns
Extension Methods