newFrom abstract method
Creates a new point instance of a type compatible with this object.
Values for a new point are given by coords
containing num
values
(that is double
or int
). By default 0 is used as an offset and length
of coords
as length specifying values. If both offset
and length
parameters are given, then those are specifying a segment of values from
coords
to be used for setting values on a new point.
When newFrom is implemented by the Point class itself or it's descentants then a returned instance must be of the type with same coordinate value members as this object has.
Implementation
@override
T newFrom(Iterable<num> coords, {int? offset, int? length});