![]() |
MapLink Pro 11.2
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
|
Class managing the borders of a single outer or inner of a bordered polygon.
Instances can only be created by calls to TSLBorderedPolygon::outerBorderInfo() and TSLBorderedPolygon::innerBorderInfo(int).
Public Member Functions | |
| void | destroy () |
| bool | side (int position) const |
| bool | side (int position, bool orientation) |
| int | size () const |
| void TSLBorderInfo::destroy | ( | ) |
Delete this object.
| bool TSLBorderInfo::side | ( | int | position | ) | const |
Queries the orientation of a side.
| position | Which side to return orientation for. Refers to edge between the position'th coord and ((position+1) mod size)'th coord in the associated outer/inner coord set. |
| bool TSLBorderInfo::side | ( | int | position, |
| bool | orientation ) |
Set the orientation of a side.
| position | Which side to set orientation for. Refers to edge between the position'th coord and ((position+1) mod size)'th coord in the associated outer/inner coord set. |
| orientation | true to indicate the border is inside an edge, and false to indicate the border is outside the edge. |
| int TSLBorderInfo::size | ( | ) | const |
Query the number of sides in the associated outer/inner.