anyPointsWithM function

PointFactory<Point<num>> anyPointsWithM({
  1. bool expectGeographic = true,
  2. required bool expectM,
})

Returns a factory for cartesian and geographic Point objects allowing M.

Result type candidates for objects created by a factory: Point2, Point2m, Point3, Point3m, GeoPoint2, GeoPoint2m, GeoPoint3, GeoPoint3m.

Implementation

PointFactory<Point> anyPointsWithM({
  bool expectGeographic = true,
  required bool expectM,
}) =>
    _CreateAnyPointAllowingM(
      expectGeographic: expectGeographic,
      expectM: expectM,
    );