|
|
|
|
SymmetricDifferenceForm (Function) Calculates the symmetrical difference between two geometries. This operation is commutative. Example: Starting geometries A and B Symmetrical difference result
oPolygone2D_1 is Polygon2D
Linestring2DAddPoint(oPolygone2D_1.Outline, 2.00, 2.00)
Linestring2DAddPoint(oPolygone2D_1.Outline, 2.00, -2.00)
Linestring2DAddPoint(oPolygone2D_1.Outline, -2.00, -2.00)
Linestring2DAddPoint(oPolygone2D_1.Outline, -2.00, 2.00)
Linestring2DAddPoint(oPolygone2D_1.Outline, 2.00, 2.00)
oPolygone2D_1 = GeometryCorrect(oPolygone2D_1)
oPolygone2D_2 is Polygon2D
Linestring2DAddPoint(oPolygone2D_2.Outline, 3.00, 1.00)
Linestring2DAddPoint(oPolygone2D_2.Outline, 3.00, -1.00)
Linestring2DAddPoint(oPolygone2D_2.Outline, 1.00, -1.00)
Linestring2DAddPoint(oPolygone2D_2.Outline, 1.00, 1.00)
Linestring2DAddPoint(oPolygone2D_2.Outline, 3.00, 1.00)
oPolygone2D_2 = GeometryCorrect(oPolygone2D_2)
différence_symétrique is MultiPolygon2D = GeometrySymmetricDifference(oPolygone2D_1, oPolygone2D_2)
Sintaxis
<Result> = GeometrySymmetricDifference(<Geometry A> , <Geometry B>)
<Result>: Variable type MultiPoint2D, MultiPointGeo, MultiPolyligne2D, MultiLinestringGeo, MultiPolygone2D or MultiPolygonGeo Symmetrical difference result. This Geometry contains a collection of Geometry s of a given type: MultiPoint, MultiPolyline, or MultiPolygon. - If the symmetrical difference between two geometries consists of a single element, the collection will contain a single element.
- If the symmetrical difference is empty (for example, by calculating the difference between an Geometry and itself), the collection is empty..
- If the result of the symmetrical difference is disjoint (for example, by cutting an Polygon in half with another Polygon), the collection contains several elements.
<Geometry A>: Variable Receiver for spatial data Geometry from which Geometry B will be subtracted. This Geometry can correspond to one of the following variable types: <Geometry B>: Variable Receiver for spatial data Geometry subtracted from Geometry A. This Geometry can correspond to one of the following variable types: Clasificación Lógica de negocio / UI: Lógica de negocio
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|