setDensifyFraction method
Sets the fraction by which to densify each segment. Each segment will be (virtually) split into a number of equal-length subsegments, whose fraction of the total length is closest to the given fraction.
@param densifyFrac
Implementation
void setDensifyFraction(double densifyFrac) {
if (densifyFrac > 1.0 || densifyFrac <= 0.0)
throw ArgumentError("Fraction is not in range (0.0 - 1.0]");
this.densifyFrac = densifyFrac;
}