Inherits IPolygon.
Public Member Functions | |
| CPolygon () | |
| IPolygon@ | AddVertex (uint16 x, uint16 y) |
| IPolygon@ | AddVertices (array< uint16 >& hexes) |
| void | GetTriangulation (array< uint16 >& triangles) |
| bool | Intersects (float x, float y, float x1, float y1, float x2, float y2) |
| bool | IsWithin (uint16 x, uint16 y) |
Public Attributes | |
| array< float > | xs |
| array< float > | ys |
| array< uint16 > | hxs |
| array< uint16 > | hys |
| CPolygon | ( | ) |
| void GetTriangulation | ( | array< uint16 >& | triangles | ) |
Implements IPolygon.
| bool Intersects | ( | float | x, | |
| float | y, | |||
| float | x1, | |||
| float | y1, | |||
| float | x2, | |||
| float | y2 | |||
| ) |
| bool IsWithin | ( | uint16 | x, | |
| uint16 | y | |||
| ) |
Implements IPolygon.
| array<float> xs |
| array<float> ys |
| array<uint16> hxs |
| array<uint16> hys |
1.7.1