///<summary> /// Throws an exception if the PrecisionModels differ. ///</summary> ///<param name="geometry">The Geometry with which to compare this Geometry.</param> ///<exception cref="ArgumentException">If the two Geometrys have *unequal PrecisionModels</exception> protected virtual void CheckEqualPrecisionModel(Geometry geometry) { if ( !_precisionModel.Equals( geometry.GetPrecisionModel() ) ) { throw new ArgumentException("Expected precision models to be equal, but they were not"); } }