project<R extends Point<num> > method
Polygon<R>
project<R extends Point<num> >(
- Projection projection, {
- required CreatePosition<
R> to,
override
Returns a new geometry with all points projected using projection
.
Target points of R
are created using to
as a point factory.
Implementation
@override
Polygon<R> project<R extends Point>(
Projection projection, {
required CreatePosition<R> to,
}) =>
Polygon<R>(
rings.convert((ring) => ring.project(projection, to: to)),
);