Public Member Functions | Properties
Point Class Reference

A point object represents a point with x, y, Z, and M values. Shapes created by adding point objects to the shape. More...

List of all members.

Public Member Functions

Point Clone ()
 Creates an exact copy of the point.
string get_ErrorMsg (int ErrorCode)
 Retrieves the error message associated with the specified error code.

Properties

ICallback GlobalCallback [get, set]
 The global callback is the interface used by MapWinGIS to pass progress and error events to interested applications.
string Key [get, set]
 The key may be used by the programmer to store any string data associated with the object.
int LastErrorCode [get]
 Retrieves the last error generated in the object.
double M [get, set]
 Gets or sets the measure value of this point. Measures only apply to shapefiles with measure data.
double x [get, set]
 Gets or sets the x value of the point.
double y [get, set]
 Gets or sets the y value of the point.
double Z [get, set]
 Gets or sets the Z value of this point.

Detailed Description

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.

dot_inline_dotgraph_55.png

Graph description

Examples:
CreatePointShapefile.cs, CreatePolygonShapefile.cs, GenerateLabelsManually.cs, LinePattern.cs, MarkPoints.cs, and PolygonsWithHoles.cs.

Member Function Documentation

Creates an exact copy of the point.

Returns:
The new point.
New API 4.8:
Added in version 4.8
string Point.get_ErrorMsg ( int  ErrorCode)

Retrieves the error message associated with the specified error code.

Parameters:
ErrorCodeThe 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.

Property Documentation

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.
string Point.Key [get, set]

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.

Retrieves the last error generated in the object.

Deprecated:
v 4.9.3 Point class doesn't define any error messages.
double Point.M [get, set]

Gets or sets the measure value of this point. Measures only apply to shapefiles with measure data.

double Point.x [get, set]

Gets or sets the x value of the point.

Examples:
CreatePolygonShapefile.cs, GenerateLabelsManually.cs, LinePattern.cs, and MarkPoints.cs.
double Point.y [get, set]

Gets or sets the y value of the point.

Examples:
CreatePolygonShapefile.cs, GenerateLabelsManually.cs, LinePattern.cs, and MarkPoints.cs.
double Point.Z [get, set]

Gets or sets the Z value of this point.

 All Classes Files Functions Enumerations Properties Events