PointQueryInfo class
Point query info.
Constructors
Properties
- distance → double
-
The distance to the point. The distance is negative if the point is inside the shape.
no setter
- gradient → Vector2
-
The gradient of the signed distance function.
The value should be similar to info.p/info.d, but accurate even for very small values of info.d.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- point → Vector2
-
The closest point on the shape's surface. (in world space coordinates)
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shape → Shape
-
The nearest shape, NULL if no shape was within range.
no setter
Methods
-
close(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited