public interface IRectangle extends IFeatureGeometry
IFeatureGeometry that is an axis aligned rectangle defined by two points (lower left and upper right).| Modifier and Type | Method and Description |
|---|---|
IMultiPolygon |
asMultiPolygon()
Returns an
IMultiPolygon version of this IRectangle. |
IRectangle |
getCopy()
Returns a non-transient copy of this
IFeatureGeometry in this IFeatureGeometry's coordinate system. |
IRectangle |
getCopy(CoordSys csys)
Returns a non-transient copy of this
IFeatureGeometry in the specified coordinate system. |
Length |
getHeight(ComputationType ct)
Returns the height of the
IRectangle using the specified ComputationType. |
DirectPosition |
getLowerLeft()
Returns the lower-left corner of the
IRectangle as DirectPosition. |
DirectPosition |
getUpperRight()
Returns the upper-right corner of the
IRectangle as DirectPosition. |
Length |
getWidth(ComputationType ct)
Returns the width of the
IRectangle using the specified ComputationType. |
getRepresentativePoint, initializeRepresentativePoint, setRepresentativePointcontains, getArea, getCoordSys, getDimension, getEnvelope, getPerimeter, getSpatialInfo, getType, isEmpty, isTransient, mAllSet, mSet, zAllSet, zSetDirectPosition getLowerLeft()
IRectangle as DirectPosition.IRectangle as DirectPosition.DirectPosition getUpperRight()
IRectangle as DirectPosition.IRectangle as DirectPosition.Length getWidth(ComputationType ct)
IRectangle using the specified ComputationType.IRectangle using the specified ComputationType.InvalidComputationTypeException - if the given computation type is incompatible with the
coordinate system of this geometryLength getHeight(ComputationType ct)
IRectangle using the specified ComputationType.IRectangle using the specified ComputationType.InvalidComputationTypeException - if the given computation type is incompatible with the
coordinate system of this geometryIMultiPolygon asMultiPolygon()
IMultiPolygon version of this IRectangle.IMultiPolygon version of this IRectangle.IRectangle getCopy()
IFeatureGeometryIFeatureGeometry in this IFeatureGeometry's coordinate system.getCopy in interface IFeatureGeometrygetCopy in interface IGeometryIFeatureGeometry in this IFeatureGeometry's coordinate system.IFeatureGeometry.getCopy(com.mapinfo.midev.coordsys.CoordSys),
IGeometry.isTransient()IRectangle getCopy(CoordSys csys)
IFeatureGeometryIFeatureGeometry in the specified coordinate system.getCopy in interface IFeatureGeometrygetCopy in interface IGeometrycsys - coordinate system of the returned copyIFeatureGeometry in the specified coordinate system.IGeometry.isTransient()© 2007, 2022 Precisely. All rights reserved.