mapscript.shapeObj

class mapscript.shapeObj(type: int = <MagicMock id='140458941352544'>)

Overview

The shapeObj has the following relationships:

../../../_images/shapeObj_lineObj.png

Attributes

bounds

rectObj TODO Add documentation

classindex

int TODO Add documentation

index

long TODO Add documentation

itemdefinitions

numlines

int immutable TODO Add documentation

numvalues

int immutable TODO Add documentation

resultindex

int TODO Add documentation

scratch

int TODO Add documentation

text

char TODO Add documentation

thisown

The membership flag

tileindex

int TODO Add documentation

type

int TODO Add documentation

Methods

Union(shape: shapeObj) shapeObj[source]
__init__(type: int = <MagicMock id='140458941352544'>)[source]
add(line: lineObj) int[source]
boundary() shapeObj[source]
buffer(width: double) shapeObj[source]
clone() shapeObj[source]
contains(*args) int[source]
convexHull() shapeObj[source]
copy(dest: shapeObj) int[source]
crosses(shape: shapeObj) int[source]
difference(shape: shapeObj) shapeObj[source]
disjoint(shape: shapeObj) int[source]
distanceToPoint(point: pointObj) double[source]
distanceToShape(shape: shapeObj) double[source]
draw(map: mapObj, layer: layerObj, image: imageObj) int[source]
equals(shape: shapeObj) int[source]
static fromWKT(wkt: char) shapeObj[source]
get(i: int) lineObj[source]
getArea() double[source]
getCentroid() pointObj[source]
getLabelPoint() pointObj[source]
getLength() double[source]
getValue(i: int) char[source]
initValues(numvalues: int) void[source]
intersection(shape: shapeObj) shapeObj[source]
intersects(shape: shapeObj) int[source]
overlaps(shape: shapeObj) int[source]
project(*args) int[source]
setBounds() void[source]
setValue(i: int, value: char) int[source]
simplify(tolerance: double) shapeObj[source]
symDifference(shape: shapeObj) shapeObj[source]
toWKT() char[source]
topologyPreservingSimplify(tolerance: double) shapeObj[source]
touches(shape: shapeObj) int[source]
within(shape: shapeObj) int[source]