MultiPoint constructor
A multi point geometry with an array of points
(each with a position).
An optional bounds
can used set a minimum bounding box for a geometry.
Each point is represented by a Position instance.
Examples:
// a multi point with three 2D positions
MultiPoint([
[10.0, 20.0].xy,
[12.5, 22.5].xy,
[15.0, 25.0].xy,
]);
// a multi point with three 3D positions
MultiPoint([
[10.0, 20.0, 30.0].xyz,
[12.5, 22.5, 32.5].xyz,
[15.0, 25.0, 35.0].xyz,
]);
Implementation
const MultiPoint(List<Position> points, {super.bounds}) : _points = points;