示例#1
0
        /// <summary>
        /// Returns <see langword="true" /> if this <see cref="Geometry"/> is ‘spatially within’ another <see cref="Geometry"/>.
        /// </summary>
        public virtual Boolean Within(IGeometry geom)
        {
            Geometry g = checkParameterType(geom);

            return(BoundingBoxSpatialRelations.Within(this, g));
        }
示例#2
0
 /// <summary>
 /// Returns <see langword="true" /> if this Geometry is 'spatially equal' to another Geometry.
 /// </summary>
 public virtual Boolean Equals(Geometry other)
 {
     return(BoundingBoxSpatialRelations.Equals(this, other));
 }