Point2m.from constructor
A point from coords
given in order: x, y, m.
Implementation
factory Point2m.from(Iterable<num> coords, {int? offset}) {
final start = offset ?? 0;
return Point2m.xym(
coords.elementAt(start),
coords.elementAt(start + 1),
coords.elementAt(start + 2),
);
}