#include <mi32/region2d.h>
The region can be represented by either a single rectangle or as a list of sub-regions.
Definition at line 562 of file region2d.h.
|
|
Definition at line 565 of file region2d.h. |
|
|
Default constructor, initializes to an invalid region.
|
|
|
Copy constructor.
|
|
|
Constructor from DRECT2D.
|
|
|
Constructor from SUBREGION2D.
|
|
|
Constructor from a list of polylines.
|
|
|
Destructor.
|
|
||||||||||||
|
Assign from a POLYLINE and an index array defining how the polyline is formatted.
|
|
|
Get the beginning of the list of SUBREGION's.
Definition at line 618 of file region2d.h. |
|
|
Clear the region.
|
|
|
Clear coordinate reference system.
|
|
||||||||||||||||
|
Clip a polyline to a region, call the ClipTarget for each segment.
|
|
|
Compute the region area in region units.
|
|
|
Compute the region area in region units but do not exclude islands in the calculation.
|
|
|
Compute the region perimeter in region units.
|
|
|
Compute the region perimeter in region units but do not include sub-region islands in the calculation.
|
|
|
Translate the region using a coordinate operation (SPATREF::COORDOP) transformation Region coordinate reference system "GetCoordRefSys()' must equate to the Op.GetSourceCRS(). The Op.GetTargetCRS() is assigned as the region's COORDREFSYS after the transformation. |
|
|
Translate the region using a mapgen transformation An error will occur if the COORDREFSYS of 'this' is not local and the TRANS2D_MAPGEN's input transformation is not identity or the COORDREFSYS of 'this' does not match the TRANS2D_MAPGEN's input COORDREFSYS. If the TRANS2D_MAPGEN's output transformation is identity, 'this' COORDREFSYS will be set to the TRANS2D_MAPGEN's output COORDREFSYS. otherwise it will be set to "Undefined". |
|
|
Translate the region using an affine transformation If the COORDREFSYS of 'this' is set, it will be changed to "Undefined".
|
|
||||||||||||
|
Translate the region using a coordinate operation (SPATREF::COORDOP) transformation with densification Region coordinate reference system "GetCoordRefSys()' must equate to the Op.GetSourceCRS(). The Op.GetTargetCRS() is assigned as the region's COORDREFSYS after the transformation. |
|
|
Translate the region using a mapgen transformation with densification An error will occur if the COORDREFSYS of 'this' is not local and the TRANS2D_MAPGEN's input transformation is not identity or the COORDREFSYS of 'this' does not match the TRANS2D_MAPGEN's input COORDREFSYS. If the TRANS2D_MAPGEN's output transformation is identity, 'this' COORDREFSYS will be set to the TRANS2D_MAPGEN's output COORDREFSYS. otherwise it will be set to "Undefined". |
|
|
Translate the region using a mapgen transformation An error will occur if the COORDREFSYS of 'this' is not local and the TRANS2D_MAPGEN's output transformation is not identity or the COORDREFSYS of 'this' does not match the TRANS2D_MAPGEN's output COORDREFSYS. If the TRANS2D_MAPGEN's input transformation is identity, 'this' COORDREFSYS will be set to the TRANS2D_MAPGEN's input COORDREFSYS otherwise it will be set to "Undefined". |
|
|
Translate the region using an affine transformation If the COORDREFSYS of 'this' is set, it will be changed to "Undefined".
|
|
|
Translate the region using a mapgen transformation with densification An error will occur if the COORDREFSYS of 'this' is not local and the TRANS2D_MAPGEN's output transformation is not identity or the COORDREFSYS of 'this' does not match the TRANS2D_MAPGEN's output COORDREFSYS. If the TRANS2D_MAPGEN's input transformation is identity, 'this' COORDREFSYS will be set to the TRANS2D_MAPGEN's input COORDREFSYS. otherwise it will be set to "Undefined". |
|
|
Translate the region using a coordinate operation (SPATREF::COORDOP) transformation Region coordinate reference system "GetCoordRefSys()' must equate to the Op.GetTargetCRS(). The Op.GetSourceCRS() is assigned as the region's COORDREFSYS after the transformation. |
|
||||||||||||
|
Translate the region using a coordinate operation (SPATREF::COORDOP) transformation with densification Region coordinate reference system "GetCoordRefSys()' must equate to the Op.GetTargetCRS(). The Op.GetSourceCRS() is assigned as the region's COORDREFSYS after the transformation. |
|
||||||||||||
|
Convert 'this' to a different COORDREFSYS.
|
|
|
Get the end of the list of SUBREGION's.
Definition at line 739 of file region2d.h. |
|
||||||||||||
|
Exclusive Union (XOR) RegionB with RegionA and place in 'this' Will convert 'this' to RegionA's SPATREF::COORDREFSYS.
|
|
|
Exclusive Union (XOR) RegionB with 'this'.
|
|
|
Get the region's coordinate reference system.
Definition at line 756 of file region2d.h. |
|
|
Get region extents.
Definition at line 761 of file region2d.h. |
|
|
Get region extents.
Definition at line 766 of file region2d.h. |
|
|
Get number of sub-regions.
|
|
||||||||||||
|
Intersect RegionB with RegionA and place in 'this' Will convert 'this' to RegionA's SPATREF::COORDREFSYS.
|
|
|
Intersect RegionB with 'this'.
|
|
|
Intersect a sub-region with 'this'.
|
|
|
Intersect a polygon with 'this'.
|
|
|
Intersect rectangle with 'this'.
|
|
|
Intersect a validated polygon with 'this'.
|
|
|
Is the region an empty region.
Definition at line 807 of file region2d.h. |
|
||||||||||||
|
Determine if the two regions are equivalent This method uses "Fuzzy" vertex comparisons and the direction and order of the elements are not relevant Specify a different threshold to allow greater distances.
|
|
|
Determine if the point falls inside the region.
|
|
|
Is the region a simple rectangle region?
Definition at line 826 of file region2d.h. |
|
|
Assignment from SUBREGION2D.
|
|
|
Assignment from DRECT2D.
|
|
|
Assignment.
|
|
|
Reverse the orientation of the subregions in the region.
|
|
|
Set the region's coordinate reference system Does not do any transformations of the region, assumes that the region is in the system specified.
Definition at line 836 of file region2d.h. |
|
|
Set region orientation Each subregion is set using SUBREGION2D::SetOrientation().
|
|
|
Set the Z init and Z last fields of the extents box.
|
|
||||||||||||
|
Subtract RegionB from RegionA and place in 'this' Will convert 'this' to RegionA's SPATREF::COORDREFSYS.
|
|
|
Subtract RegionB from 'this'.
|
|
|
Subtract a sub-region from 'this'.
|
|
|
Subtract a polygon from 'this'.
|
|
|
Subtract rectangle from 'this'.
|
|
|
Subtract a validated polygon from 'this'.
|
|
||||||||||||
|
Test the line given the test criteria against the region.
|
|
||||||||||||
|
Test the point given the test criteria against the sub-region.
|
|
||||||||||||
|
Test the polygon given the test criteria against the region.
|
|
||||||||||||
|
Test the sub-region given the test criteria against the region.
|
|
|
Union (ADD) RegionB to 'this'.
|
|
||||||||||||
|
Union (ADD) RegionB to RegionA and place in 'this' Will convert 'this' to RegionA's SPATREF::COORDREFSYS.
|
|
|
Union (ADD) a sub-region to the region.
|
|
|
Union (ADD) a polygon to 'this'.
|
|
|
Union (ADD) rectangle to 'this'.
|
|
|
Union (ADD) a validated polygon to 'this'.
|
1.3.8-20040913