Checks whether the geometry of the path is equal to the geometry of a given curve.
true if this path geometry is equal with given curve