segCount property

int get segCount

Number of cubic segments.

Implementation

int get segCount => (pts.length ~/ 2 - 1) ~/ 3;