mapscript.lineObj¶
- class mapscript.lineObj¶
- A - lineObjis composed of one or more- pointObjinstances- Overview - The lineObj has the following relationships:   - Attributes - numpoints- int immutable Number of points in the line - thisown- The membership flag - Methods - __init__()[sorgente]¶
 - add(p: pointObj) int[sorgente]¶
- Add point p to the line. Returns - MS_SUCCESSor- MS_FAILURE
 - get(i: int) pointObj[sorgente]¶
- Return reference to point at index i. 
 - project(*args) int[sorgente]¶
- Overload 1: Transform line in place from proj_in to proj_out. Returns - MS_SUCCESSor- MS_FAILURE- Overload 2: Reproject line given a reprojection object. Transformation is done in place. Returns - MS_SUCCESSor- MS_FAILURE
 - set(i: int, p: pointObj) int[sorgente]¶
- Set the point at index i to point p. Returns - MS_SUCCESSor- MS_FAILURE
 








 
        
          
            




