#include <mi32/transgen.h>
#include <mi32/trans2dc.h>
#include <mi32/stddefns.h>
#include <mi32/mapproj.h>
Include dependency graph for region.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Classes | |
| struct | DREGION |
| struct | DSUBREGION |
| class | GEOREGION |
Defines | |
| #define | GEOMLIBEXPORT MI_DLLIMPORT |
| #define | REGIONTEST_CompInside 1 |
| #define | REGIONTEST_PartInside 2 |
| #define | REGIONTEST_CompOutside 3 |
| #define | REGIONTEST_PartOutside 4 |
| #define | REGIONTEST_ClipInside 5 |
| #define | REGIONTEST_ClipOutside 6 |
| #define | REGIONCOMP_Outside 1 |
| #define | REGIONCOMP_Inside 2 |
| #define | REGIONCOMP_Intersect 3 |
| #define | REGIONCOMP_Overlap 4 |
| #define | REGIONFLAG_TestAsLines 0x00000001 |
Functions | |
| GEOMLIBEXPORT ERRVALUE | MregionChangeProj (DREGION *region, const MAPPROJPARM *mapparm) |
| GEOMLIBEXPORT int | MregionCheckIfOutside (const DRECT2D *extents, const DREGION *region) |
| GEOMLIBEXPORT void | MregionClear (DREGION *region) |
| GEOMLIBEXPORT int | MregionClipLine (const DREGION *region, const DPOLYGON *line, int(*ClippedLine)(DPOLYGON *retline, void *udata), void *udata, UINT32 RegionTest) |
| GEOMLIBEXPORT int | MregionClipPoint (const DREGION *region, const DPOINT3D *pt, int(*ClippedPoint)(DPOINT3D *pt, void *udata), void *udata, UINT32 RegionTest) |
| GEOMLIBEXPORT int | MregionClipPolygon (const DREGION *region, const DPOLYGON *IPolygon, DPOLYGON **OPolyList, UINT32 *ONumPolys, UINT32 RegionTest) |
| GEOMLIBEXPORT int | MregionClipPolygonsL (const DREGION *region, const DPOLYGON *IPolyList, UINT32 INumPolys, LPOLYGON **OPolyList, UINT32 *ONumPolys, UINT32 RegionTest) |
| GEOMLIBEXPORT int | MregionCompareLine (const DPOLYGON *line, const DREGION *region, INT32 *SubRegion) |
| GEOMLIBEXPORT ERRVALUE | MregionConvertToLatLon (DREGION *region, double maxerror=0.0) |
| GEOMLIBEXPORT ERRVALUE | MregionCopy (DREGION *DestRegion, const DREGION *SrcRegion) |
| GEOMLIBEXPORT int | MregionDestToPolygonsL (DREGION *region, LPOLYGON **polys, INT32 *numpolys) |
| GEOMLIBEXPORT int | MregionExclusiveOr (DREGION *DestRegion, const DREGION *RegionA, const DREGION *RegionB) |
| GEOMLIBEXPORT void | MregionFree (DREGION *region) |
| GEOMLIBEXPORT ERRVALUE | MregionGenerateDest (DREGION *region) |
| GEOMLIBEXPORT int | MregionGenPointInSub (const DREGION *region, INT32 SubIndex, DPOINT2D *retpt) |
| bool | MregionHasDest (const DREGION *region) |
| GEOMLIBEXPORT void | MregionInit (DREGION *region) |
| GEOMLIBEXPORT int | MregionIntersect (DREGION *DestRegion, const DREGION *RegionA, const DREGION *RegionB) |
| GEOMLIBEXPORT int | MregionIsPointInSub (const DSUBREGION *subregion, const DPOINT2D *point) |
| GEOMLIBEXPORT ERRVALUE | MregionSetTransParm (DREGION *region, const TRANSPARM *transparm) |
| GEOMLIBEXPORT int | MregionSubtract (DREGION *DestRegion, const DREGION *RegionA, const DREGION *RegionB) |
| GEOMLIBEXPORT int | MregionTestLine (const DPOLYGON *line, const DREGION *region, UINT32 RegionTest) |
| GEOMLIBEXPORT int | MregionTestPoint (const DPOINT2D *pt, const DREGION *region, UINT32 RegionTest) |
| GEOMLIBEXPORT int | MregionTestPolygon (const DPOLYGON *poly, const DREGION *region, UINT32 RegionTest) |
| GEOMLIBEXPORT int | MregionTestSubRegion (const DSUBREGION *subregion, const DREGION *region, UINT32 RegionTest) |
| GEOMLIBEXPORT ERRVALUE | MregionTransfer (DREGION *DestRegion, const DREGION *SrcRegion) |
| GEOMLIBEXPORT ERRVALUE | MregionTranslate (DREGION *region, const TRANSPARM *tp) |
| GEOMLIBEXPORT int | MregionUnion (DREGION *DestRegion, const DREGION *RegionA, const DREGION *RegionB) |
| GEOMLIBEXPORT ERRVALUE | MregionUpdate (DREGION *region) |
| int | MregionAppendToVector (int vid, void *vvinfo, DREGION *region) |
| int | MregionClipVectPolygon (DREGION *region, int vid, INT32 PolyNum, LPOLYGON **rpolygons, INT32 *rnumpolys, UINT32 flags) |
| ERRVALUE | MregionGetStats (const DREGION ®ion, double *Area, double *Perimeter, DPOINT2D *Centroid, double *AreaNotIsle, double *PerimeterNotIsle, DPOINT2D *CentroidNotIsle) |
| int | MregionTestCADElement (void *velem, const DREGION *region, UINT32 RegionTest, UINT32 flags) |
| int | MregionTestTINElement (int tid, int ElemType, INT32 ElemNum, const DREGION *region, UINT32 RegionTest) |
| int | MregionTestVectorElement (int vid, int ElemType, INT32 ElemNum, const DREGION *region, UINT32 RegionTest) |
| GEOREGION | operator & (const GEOREGION &lhs, const GEOREGION &rhs) |
| GEOREGION | operator| (const GEOREGION &lhs, const GEOREGION &rhs) |
| GEOREGION | operator+ (const GEOREGION &lhs, const GEOREGION &rhs) |
| GEOREGION | operator- (const GEOREGION &lhs, const GEOREGION &rhs) |
| GEOREGION | operator^ (const GEOREGION &lhs, const GEOREGION &rhs) |
Definition in file region.h.
|
|
|
|
|
Element is inside the region.
|
|
|
Element intersects the region.
|
|
|
Element is outside the region.
|
|
|
Element overlaps the region, both inside and outside.
|
|
|
Test element if possible as line data.
|
|
|
Clip inside, not actual test.
|
|
|
Clip outside, not actual test.
|
|
|
Only elements completely inside region. The DSUBREGION structure follows the same storage format as the CAD Polygon structure. The IsleNumPoints array is an array containing the number of points per island. The Points array contains both the points for the exterior polygon region and the islands. The layout of the points is as follows: first the exterior polygon is stored then the points for each island in the order stored in the IsleNumPoints array. If no islands exist, then the IsleNumPoints array is not allocated. Anything inside an island is considered to be "outside" the region. DREGION and DSUBREGION are defined in stddefns.h |
|
|
Only elements completely outside region.
|
|
|
All elements that partially or completely fall inside region.
|
|
|
All elements that partially or completely fall outside region.
|
|
||||||||||||
|
Intersection.
|
|
||||||||||||
|
Sum (same as union).
|
|
||||||||||||
|
Subtract one region from another.
|
|
||||||||||||
|
INC_MI32_REGION_H.
|
|
||||||||||||
|
Union.
|
1.3.4-20031026