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
Returns the Geometry Receiver corresponding to the difference between two Geometry s.
Example:
Starting geometries A and B
Starting geometries A and B
Result of difference
Result of difference
Ejemplo
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)
// Le dernier point du polygone correspond au premier point
Linestring2DAddPoint(oPolygone2D_1.Outline, 2.00, 2.00)
// Corrige la géométrie créée
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)
// Le dernier point du polygone correspond au premier point
Linestring2DAddPoint(oPolygone2D_2.Outline, 3.00, 1.00)
// Corrige la géométrie créée
oPolygone2D_2 = GeometryCorrect(oPolygone2D_2)

// La différence correspond à un polygone en 2 dimensions
// La différence de deux polygones renvoie toujours un MultiPolygone
différence_symétrique is MultiPolygon2D = GeometrySymmetricDifference(oPolygone2D_1, oPolygone2D_2)
Sintaxis
<Result> = GeometryDifference(<Geometry A> , <Geometry B>)
<Result>: Variable type MultiPoint2D, MultiPointGeo, MultiPolyligne2D, MultiLinestringGeo, MultiPolygone2D or MultiPolygonGeo
Geometry Receiver corresponding to the difference. This Geometry contains a collection of Geometry s of a given type: MultiPoint, MultiPolyline, or MultiPolygon.
  • If the difference between two geometries consists of a single element, the collection will contain a single element.
  • If the difference is empty (for example, by calculating the difference between an Geometry and itself), the collection will be empty..
  • If the result of the difference is disjoint (for example, by cutting an Polygon in half with another Polygon), the collection will contain 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
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