CurveVector::IsPhysicallyClosedPath
tells me if, say, a line-string has coincident start and end points. It looks like a shape, but remains an open curve vector.
I want to measure the area of that not-quite-a-shape. Should I copy the line-string and create a closed CurveVector
that I can measure? Is there a CloseShape
method I can call or should I extract the line-string points and create a new closed shape?
CurveVector
contains some arcane methods: is there another way to get a closed CurveVector
from a CurveVector
that passes the IsPhysicallyClosedPath
test?