Function S2Cap.fromPoint

Convenience function that creates a cap containing a single point. This method is more efficient that the S2Cap(center, radius) constructor.

static S2Cap fromPoint (
  in const(s2.util.math.vector.Vector!(double,3L)) center
);