// The following are methods that should be implemented on a geometry object according to // the OpenGIS Simple Features Specification /// <summary> /// Returns 'true' if this Geometry is 'spatially equal' to anotherGeometry /// </summary> public virtual bool Equals(Geometry other) { return(SpatialRelations.Equals(this, other)); }
/// <summary> /// Returns 'true' if this <see cref="Geometry"/> ‘spatially contains?another <see cref="Geometry"/>. /// </summary> public virtual bool Contains(Geometry geom) { return(SpatialRelations.Contains(this, geom)); }
/// <summary> /// Returns 'true' if this <see cref="Geometry"/> 'spatially overlaps' another <see cref="Geometry"/>. /// </summary> public virtual bool Overlaps(Geometry geom) { return(SpatialRelations.Overlaps(this, geom)); }
/// <summary> /// Returns 'true' if this <see cref="Geometry"/> is ‘spatially within?another <see cref="Geometry"/>. /// </summary> public virtual bool Within(Geometry geom) { return(SpatialRelations.Within(this, geom)); }
/// <summary> /// Returns 'true' if this <see cref="Geometry"/> ‘spatially crosses?another <see cref="Geometry"/>. /// </summary> public virtual bool Crosses(Geometry geom) { return(SpatialRelations.Crosses(this, geom)); }
/// <summary> /// Returns 'true' if this <see cref="Geometry"/> ‘spatially touches?another <see cref="Geometry"/>. /// </summary> public virtual bool Touches(Geometry geom) { return(SpatialRelations.Touches(this, geom)); }
/// <summary> /// Returns 'true' if this <see cref="Geometry"/> ‘spatially intersects?another <see cref="Geometry"/>. /// </summary> public virtual bool Intersects(Geometry geom) { return(SpatialRelations.Intersects(this, geom)); }
/// <summary> /// Returns 'true' if this Geometry is ‘spatially disjoint?from another <see cref="Geometry"/>. /// </summary> public virtual bool Disjoint(Geometry geom) { return(SpatialRelations.Disjoint(this, geom)); }