Extent Class

A two-dimensional spatial bounding box.
Inheritance Hierarchy
SystemObject
  Aspose.GisExtent

Namespace:  Aspose.Gis
Assembly:  Aspose.GIS (in Aspose.GIS.dll) Version: 20.3.0.0 (20.03)
Syntax
public class Extent : IEquatable<Extent>

The Extent type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyCenter
Center of the extent.
Public propertyHeight
Height of the extent.
Public propertyIsValid
Determines whether this Extent is valid.
Public propertySpatialReferenceSystem
SpatialReferenceSystem associated with this extent. Can be if SpatialReferenceSystem is unknown. Use GetTransformed(SpatialReferenceSystem) in order to transform extent between difference spatial reference systems.
Public propertyWidth
Width of the extent.
Public propertyXMax
Maximum value of the X coordinate.
Public propertyXMin
Minimum value of the X coordinate.
Public propertyYMax
Maximum value of the Y coordinate.
Public propertyYMin
Minimum value of the Y coordinate.
Methods
  NameDescription
Public methodClone
Clones this instance.
Public methodContains(Extent)
Determines whether this extent contains the argument.
Public methodContains(IGeometry)
Determines whether this extent contains the argument.
Public methodContains(Double, Double)
Determines whether this extent contains a coordinate defined by the arguments.
Public methodEquals(Object)
Determines whether the specified object is equal to the current object.
(Overrides ObjectEquals(Object).)
Public methodEquals(Extent)
Indicates whether the current object is equal to another object of the same type.
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Overrides ObjectGetHashCode.)
Public methodGetTransformed
Returns new extent in specified SpatialReferenceSystem that contains this extent.
Public methodGetType (Inherited from Object.)
Public methodGrow(Extent)
Grows this extent so it includes the argument.
Public methodGrow(Double, Double)
Grows this extent so it includes the specified point.
Public methodGrowX
Grows this extent along the X axis so it includes the specified value.
Public methodGrowY
Grows this extent along the Y axis so it includes the specified value.
Public methodIntersects(Extent)
Determines whether this extent intersects with the argument.
Public methodIntersects(IGeometry)
Determines whether this extent intersects with the argument.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodNormalize
Swaps XMin with XMax if Width is negative and YMin with YMax if Height is negative.
Public methodToPolygon
Converts this extent to a rectangular polygon that represents it.
Public methodToString
Returns a string that represents the current object.
(Overrides ObjectToString.)
Operators
  NameDescription
Public operatorStatic memberEquality
Implements the '==' operator.
Public operatorStatic memberInequality
Implements the '!=' operator.
See Also