add projectionLength and projectionParameter
fix wrong chordUnitOutNormal
rename setPolygon() to setFacet()