pointQuery method

(double, PointQueryInfo) pointQuery({
  1. required Vector2 point,
})

Implementation

(double distance, PointQueryInfo info) pointQuery({required Vector2 point}) {
  var info = PointQueryInfo();
  return (bindings.cpShapePointQuery(_shape, point.toCpVect().ref, info._toPointer), info);
}