mapscript.lineObj¶
- class mapscript.lineObj¶
A
lineObj
is composed of one or morepointObj
instancesOverview
The lineObj has the following relationships:
Attributes
numpoints
int immutable Number of points in the line
thisown
The membership flag
Methods
- add(p: pointObj) int [kaynak]¶
Add point p to the line. Returns
MS_SUCCESS
orMS_FAILURE
- project(projin: projectionObj, projout: projectionObj) int [kaynak]¶
Transform line in place from proj_in to proj_out. Returns
MS_SUCCESS
orMS_FAILURE
- set(i: int, p: pointObj) int [kaynak]¶
Set the point at index i to point p. Returns
MS_SUCCESS
orMS_FAILURE