getContour method
Determines the contour (sequence of points) of this polygon and stores the result in the given array.
Implementation
List<Vector3> getContour(List<Vector3> result ) {
HalfEdge? edge = this.edge;
result.length = 0;
do{
result.add( edge!.vertex );
edge = edge.next;
} while ( edge != this.edge );
return result;
}