A point object represents a point with x, y, Z, and M values. Shapes created by adding point objects to the shape.
More...
|
| Point | Clone () |
| | Creates an exact copy of the point. More...
|
| |
| string | get_ErrorMsg (int ErrorCode) |
| | Retrieves the error message associated with the specified error code. More...
|
| |
| void | Set (double newX, double newY, double newZ) |
| | Sets the X, Y, and Z values of this point. More...
|
| |
|
| ICallback | GlobalCallback [get, set] |
| | The global callback is the interface used by MapWinGIS to pass progress and error events to interested applications. More...
|
| |
| string | Key [get, set] |
| | The key may be used by the programmer to store any string data associated with the object. More...
|
| |
| int | LastErrorCode [get] |
| | Retrieves the last error generated in the object. More...
|
| |
| double | M [get, set] |
| | Gets or sets the measure value of this point. Measures only apply to shapefiles with measure data. More...
|
| |
| double | x [get, set] |
| | Gets or sets the x value of the point. More...
|
| |
| double | y [get, set] |
| | Gets or sets the y value of the point. More...
|
| |
| double | Z [get, set] |
| | Gets or sets the Z value of this point. More...
|
| |
A point object represents a point with x, y, Z, and M values. Shapes created by adding point objects to the shape.
Here is a diagram for the Point class.
Graph description
- Examples
- CreatePointShapefile.cs, CreatePolygonShapefile.cs, GenerateLabelsManually.cs, LinePattern.cs, MarkPoints.cs, and PolygonsWithHoles.cs.
◆ Clone()
Creates an exact copy of the point.
- Returns
- The new point.
- New API 4.8:
- Added in version 4.8
◆ get_ErrorMsg()
| string Point.get_ErrorMsg |
( |
int |
ErrorCode | ) |
|
Retrieves the error message associated with the specified error code.
- Parameters
-
| ErrorCode | The error code for which the error message is required. |
- Returns
- The error message description for the specified error code.
- Deprecated:
- v 4.9.3 Point class doesn't define any error messages.
◆ Set()
| void Point.Set |
( |
double |
newX, |
|
|
double |
newY, |
|
|
double |
newZ |
|
) |
| |
Sets the X, Y, and Z values of this point.
- Parameters
-
| newX | The new X value. |
| newY | The new Y value. |
| newZ | Optional. The new Z value. Defaults to 0.0 if not specified. |
◆ GlobalCallback
The global callback is the interface used by MapWinGIS to pass progress and error events to interested applications.
- Deprecated:
- v 4.9.3 Point class doesn't define any callback or error messages.
◆ Key
The key may be used by the programmer to store any string data associated with the object.
- Deprecated:
- v 4.9.3 Key string is no longer stored for performance reasons and to spare RAM.
◆ LastErrorCode
Retrieves the last error generated in the object.
- Deprecated:
- v 4.9.3 Point class doesn't define any error messages.
Gets or sets the measure value of this point. Measures only apply to shapefiles with measure data.
Gets or sets the Z value of this point.