IGeometry Interface

The interface root class of Geometries hierarchy

Namespace:  Aspose.Gis.Geometries
Assembly:  Aspose.GIS (in Aspose.GIS.dll) Version: 20.3.0.0 (20.03)
Syntax
public interface IGeometry

The IGeometry type exposes the following members.

Properties
  NameDescription
Public propertyDimension
Gets the topological dimension of this IGeometry.
Public propertyGeometryType
Gets the type of the geometry.
Public propertyHasCurveGeometry
Gets a value indicating whether this geometry is or contains curve (not linear) geometry.
Public propertyHasM
Gets a value indicating whether this instance has M coordinate.
Public propertyHasZ
Gets a value indicating whether this instance has Z coordinate.
Public propertyIsEmpty
Gets a value indicating whether this instance is empty (represents the empty point set).
Public propertyIsSimple
Gets a value indicating whether this instance is simple from SFA point of view.
Public propertyIsValid
Gets a value indicating whether this instance is valid.
Public propertySpatialReferenceSystem
Gets SpatialReferenceSystem of this instance. This property can be , if SpatialReferenceSystem is unknown.
Methods
  NameDescription
Public methodAsBinary
Translates this geometry to its Well-Known Binary representation.
Public methodAsBinary(WkbVariant)
Translates this geometry to its Well-Known Binary representation.
Public methodAsText
Translates this geometry to its Well-Known Text representation.
Public methodAsText(WktVariant)
Translates this geometry to its Well-Known Text representation.
Public methodClone
Clones this instance.
Public methodCoveredBy
Determines whether this geometry is covered by a specified geometry.
Public methodCovers
Determines whether this geometry covers a specified geometry.
Public methodCrosses
Determines if this geometry and a specified geometry cross.
Public methodDifference
Subtracts a specified geometry from this geometry.
Public methodDisjoint
Determines if this geometry is disjoint from a specified geometry.
Public methodGetArea
Computes the area of this geometry.
Public methodGetBuffer
Computes a buffer region around this geometry.
Public methodGetCentroid
Computes the centroid of this geometry.
Public methodGetConvexHull
Computes the convex hull of this geometry.
Public methodGetDistanceTo
Computes the minimum distance between this geometry and a specified geometry.
Public methodGetExtent
Computes and returns a bounding extent of this geometry.
Public methodGetLength
Computes the length of this geometry.
Public methodIntersection
Builds an intersection between this geometry and a specified geometry.
Public methodIntersects(Extent)
Determines whether this geometry intersects a specified extent.
Public methodIntersects(IGeometry)
Determines if this geometry and a specified geometry intersects.
Public methodOverlaps
Determines whether this geometry overlap with a specified geometry.
Public methodCode exampleRelate
Determines if DE-9IM intersection matrix of this geometry and a specified geometry matches provided pattern.
Public methodSpatiallyContains
Determines whether this geometry spatially contains a specified geometry.
Public methodSpatiallyEquals
Determines if this geometry spatially equal to a specified geometry.
Public methodSymDifference
Builds a symmetric difference between this geometry and a specified geometry.
Public methodToEditable
Gets an editable copy of this geometry.
Public methodToEditableT
Gets an editable copy of this geometry.
Public methodToLinearGeometry
Gets approximate or equivalent non-curve version of this geometry using the default tolerance.
Public methodToLinearGeometry(Double)
Gets approximate or equivalent non-curve version of this geometry using the specified tolerance.
Public methodTouches
Determines if this geometry and a specified geometry touch.
Public methodUnion
Unites this geometry and a specified geometry.
Public methodWithin(Extent)
Determines whether this geometry is within a specified extent.
Public methodWithin(IGeometry)
Determines whether this geometry is within a specified geometry.
See Also