getLineSegment method
Gets the line segment starting at index
@param index index of segment @param ls line segment to extract into
Implementation
void getLineSegment(int index, LineSegment ls) {
ls.p0 = pts[index];
ls.p1 = pts[index + 1];
}
Gets the line segment starting at index
@param index index of segment @param ls line segment to extract into
void getLineSegment(int index, LineSegment ls) {
ls.p0 = pts[index];
ls.p1 = pts[index + 1];
}