Add isAnticlockwise() in Math2D
add SegmentHeadCoordIterable
build a simple test for TriangleContourBuilder