![]() |
MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
|
This class provides methods for buffering entities.
Currently the entities that can be buffered are polylines, polygons and symbols.
Static Public Member Functions | |
static TSLPolygon * | buffer (const TSLPolygon *polygon, const int distance, const int curveIncrementInDegrees=5) |
static TSLEntity * | buffer (const TSLPolyline *polyline, const int distance, const TSLBufferSideSelection side=TSLBufferSideSelectionLeft) |
static TSLEntity * | buffer (const TSLPolyline *polyline, const int distance, const TSLCoord &point) |
static TSLEllipse * | buffer (const TSLSymbol *symbol, const int distance) |
static TSLEntity * | buffer (const TSLEntity *entity, const int distance) |
This method buffers the given entity by the specified distance.
entity | The entity to be buffered. |
distance | The size of the buffer in TMC units. |
|
static |
This method buffers the given polygon by the specified distance.
polygon | The polygon to be buffered. |
distance | The width of the buffer in TMC units. |
curveIncrementInDegrees | Determines the smoothness of the disc used to perform the buffering. The smaller the value, the smoother the buffer. Defaults to 5 degrees. |
|
static |
This method buffers the given polyline by the specified distance on the specified side.
polyline | The polyline to be buffered. |
distance | The width of the buffer in TMC units (for a double sided buffer this should be half the width). |
side | The side of the polyline to be buffered. Defaults to TSLBufferSide SelectionLeft. |
|
static |
This method buffers the given polyline by the specified distance on the side specified by the given point.
polyline | The polyline to be buffered. |
distance | The width of the buffer in TMC units. |
point | The point that determines which side the polyline should be buffered on. |
|
static |
This method buffers the given symbol, returning a circle with the specified distance as the radius.
symbol | The symbol to be buffered. |
distance | The radius of the circle in TMC units. |