getLength method

double getLength()

Get total curve arc length

Implementation

double getLength() {
  final lengths = getLengths(null);
  return lengths[lengths.length - 1];
}