Returns true if and only if this curve degenerates, and returns the entity to which this curve degenerates.
If isDegenerate returns true, the returned object was created with the new operator, and it is the responsibility of the caller to delete it.