|
|
|
|
|
- Properties specific to Point2D variables
- Functions that use the Point2D type
Point2D (Variable type) In french: Point2D
The Point2D type is used to define all the characteristics of a location represented on a Cartesian plane. This type of point is used to define geometric data that uses 2D coordinates. When you manipulate geometric data, all geometries use points: - linestrings are made up of a series of connected points,
- polygons are made up of linestrings: one linestring defining the exterior ring and other linestrings defining the holes, if any.
Remark: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
p is Point2D
p.X = 3
p.Y = 12
Trace(GeometrySerializeWKT(p))
Properties Properties specific to Point2D variables The following properties can be used to manipulate a variable of type Point2D: | | | Property name | Type used | Effect |
---|
Type | Integer constant | Type of the current geometry. For a point defined with 2D coordinates, corresponds to the gtPoint2D constant. Remark: Until version 2024 Update 2, this constant was named stPoint2D.This property is available in read-only. | X | Real | X-coordinate of the point on the Cartesian plane. | Y | Real | Y-coordinate of the point on the Cartesian plane. |
Remarks Functions that use the Point2D type The following functions use Point2D variables:
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|