AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

¡Nueva funcionalidad de WINDEV, WEBDEV y WINDEV Mobile 2024!
Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Administrar bases de datos / HFSQL / 
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Otros
Procedimientos almacenados
Determines whether two geometries are disjoint, i.e. whether their intersection is empty.
Ejemplo
// Exemple 1: deux polygones disjoints.
oPolygone2D_1 is Polygon2D
Linestring2DAddPoint(oPolygone2D_1.Outline, -1.00, 3.00)
Linestring2DAddPoint(oPolygone2D_1.Outline, 0.00, 3.00)
Linestring2DAddPoint(oPolygone2D_1.Outline, -2.00, -1.00)
Linestring2DAddPoint(oPolygone2D_1.Outline, -3.00, -1.00)
// Ajout du dernier point (identique au premier)
Linestring2DAddPoint(oPolygone2D_1.Outline, -1.00, 3.00)
oPolygone2D_1 = GeometryCorrect(oPolygone2D_1)

oPolygone2D_2 is Polygon2D
Linestring2DAddPoint(oPolygone2D_2.Outline, 2.00, 4.00)
Linestring2DAddPoint(oPolygone2D_2.Outline, 3.00, 4.00)
Linestring2DAddPoint(oPolygone2D_2.Outline, 3.00, -2.00)
Linestring2DAddPoint(oPolygone2D_2.Outline, -2.00, -2.00)
// Ajout du dernier point (identique au premier)
Linestring2DAddPoint(oPolygone2D_2.Outline, 2.00, 4.00)
oPolygone2D_2 = GeometryCorrect(oPolygone2D_2)

Trace(GeometryDisjoint(oPolygone2D_1, oPolygone2D_2)) // Vrai
// Exemple 2: deux polygones avec une intersection.
oPolygone2D_1 is Polygon2D
Linestring2DAddPoint(oPolygone2D_1.Outline, -1.00, 3.00)
Linestring2DAddPoint(oPolygone2D_1.Outline, 0.00, 3.00)
Linestring2DAddPoint(oPolygone2D_1.Outline, -2.00, -1.00)
Linestring2DAddPoint(oPolygone2D_1.Outline, -3.00, -1.00)
// Ajout du dernier point (identique au premier)
Linestring2DAddPoint(oPolygone2D_1.Outline, -1.00, 3.00)
oPolygone2D_1 = GeometryCorrect(oPolygone2D_1)

oPolygone2D_2 is Polygon2D
Linestring2DAddPoint(oPolygone2D_2.Outline, 1.00, 4.00)
Linestring2DAddPoint(oPolygone2D_2.Outline, 3.00, 4.00)
Linestring2DAddPoint(oPolygone2D_2.Outline, 3.00, 1.00)
Linestring2DAddPoint(oPolygone2D_2.Outline, -1.00, -1.00)
Linestring2DAddPoint(oPolygone2D_2.Outline, -3.00, 1.00)
// Ajout du dernier point (identique au premier)
oPolygone2D_2.Contour.AjoutePoint(1.00, 4.00)
oPolygone2D_2 = GeometryCorrect(oPolygone2D_2)

Add(GeometryDisjoint(oPolygone2D_1, oPolygone2D_2)) // Faux
Sintaxis
<Result> = GeometryDisjoint(<Geometry A> , <Geometry B>)
<Result>: Boolean
  • 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 Receiver for spatial data
Name of the variable corresponding to the first Geometry handled. This Geometry can correspond to one of the following variable types:
<Geometry B>: Variable Receiver for spatial data
Name of the variable corresponding to the second Geometry handled. This Geometry can correspond to one of the following variable types:
Clasificación Lógica de negocio / UI: Lógica de negocio
Componente: wd290hf.dll
Versión mínima requerida
  • Versión 2024
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 15/02/2024

Señalar un error o enviar una sugerencia | Ayuda local