|
|
|
|
GeometryDisjoint (Function) In french: GéométrieDisjoint Determines whether two geometries are disjoint, i.e. whether their intersection is empty.
o2DPolygon_1 is Polygon2D
Linestring2DAddPoint(o2DPolygon_1.Outline, -1.00, 3.00)
Linestring2DAddPoint(o2DPolygon_1.Outline, 0.00, 3.00)
Linestring2DAddPoint(o2DPolygon_1.Outline, -2.00, -1.00)
Linestring2DAddPoint(o2DPolygon_1.Outline, -3.00, -1.00)
Linestring2DAddPoint(o2DPolygon_1.Outline, -1.00, 3.00)
o2DPolygon_1 = GeometryCorrect(o2DPolygon_1)
o2DPolygon_2 is Polygon2D
Linestring2DAddPoint(o2DPolygon_2.Outline, 2.00, 4.00)
Linestring2DAddPoint(o2DPolygon_2.Outline, 3.00, 4.00)
Linestring2DAddPoint(o2DPolygon_2.Outline, 3.00, -2.00)
Linestring2DAddPoint(o2DPolygon_2.Outline, -2.00, -2.00)
Linestring2DAddPoint(o2DPolygon_2.Outline, 2.00, 4.00)
o2DPolygon_2 = GeometryCorrect(o2DPolygon_2)
Trace(GeometryDisjoint(o2DPolygon_1, o2DPolygon_2))
o2DPolygon_1 is Polygon2D
Linestring2DAddPoint(o2DPolygon_1.Outline, -1.00, 3.00)
Linestring2DAddPoint(o2DPolygon_1.Outline, 0.00, 3.00)
Linestring2DAddPoint(o2DPolygon_1.Outline, -2.00, -1.00)
Linestring2DAddPoint(o2DPolygon_1.Outline, -3.00, -1.00)
Linestring2DAddPoint(o2DPolygon_1.Outline, -1.00, 3.00)
o2DPolygon_1 = GeometryCorrect(o2DPolygon_1)
o2DPolygon_2 is Polygon2D
Linestring2DAddPoint(o2DPolygon_2.Outline, 1.00, 4.00)
Linestring2DAddPoint(o2DPolygon_2.Outline, 3.00, 4.00)
Linestring2DAddPoint(o2DPolygon_2.Outline, 3.00, 1.00)
Linestring2DAddPoint(o2DPolygon_2.Outline, -1.00, -1.00)
Linestring2DAddPoint(o2DPolygon_2.Outline, -3.00, 1.00)
Linestring2DAddPoint(o2DPolygon_2.Outline, 1.00, 4.00)
o2DPolygon_2 = GeometryCorrect(o2DPolygon_2)
Trace(GeometryDisjoint(o2DPolygon_1, o2DPolygon_2))
Syntax
<Result> = GeometryDisjoint(<Geometry A> , <Geometry B>)
<Result>: Boolean - True if the intersection of geometry A and geometry B is empty.
- False otherwise.
If an error occurs, the ErrorOccurred variable is set to True. To get more details on the error, use ErrorInfo with the errMessage constant.
<Geometry A>: Variable containing spatial data Variable corresponding to the first geometry. This geometry can correspond to one of the following variable types: <Geometry B>: Variable containing spatial data Variable corresponding to the second geometry. This geometry can correspond to one of the following variable types: Business / UI classification: Business Logic
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|