CP::PointQueryInfo
Inherits Struct / Value / Object
Holds the result of a point query made on a Shape or Space.
Constructors
new(shape : Shape, point : Vect, distance : Float64, gradient : Vect)
SourceInstance methods
distance=(distance : Float64)
Sourcegradient
The gradient of the signed distance function.
The value should be similar to point/distance, but accurate even for very small values of distance.
gradient=(gradient : Vect)
Sourcepoint=(point : Vect)
Sourceshape=(shape : Shape)
Source