cpPointQueryInfo class final
Point query info struct.
- Inheritance
- Implemented types
- Available extensions
Constructors
Properties
-
address
→ Pointer<
T> -
Available on T, provided by the StructAddress extension
The memory address of the underlying data.no setter - distance ↔ double
-
The distance to the point. The distance is negative if the point is inside the shape.
getter/setter pair
- gradient ↔ cpVect
-
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.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- point ↔ cpVect
-
The closest point on the shape's surface. (in world space coordinates)
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
shape
↔ Pointer<
cpShape> -
The nearest shape, NULL if no shape was within range.
getter/setter pair
Methods
-
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