Make Curve#_getCrossings() a static method and have it work on curve values directly.
Move getArea code to other statics block.