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_43.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.

Property Documentation

The global callback is the interface used by MapWinGIS to pass progress and error events to interested applications.

string Point.Key [get, set]

The key may be used by the programmer to store any string data associated with the object.

Retrieves the last error generated in the object.

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]
double Point.y [get, set]
double Point.Z [get, set]

Gets or sets the Z value of this point.

 All Classes Files Functions Enumerations Properties