Méthode | Description | |
---|---|---|
ContainsVertex ( int vertex ) : bool |
Determine if the vertex is in polygon.
|
|
MergeWith ( Polygon other, int startEdge, int otherStartEdge, int temp ) : void |
Merges another polygon with this one.
|
|
Polygon ( int numVertsPerPoly, Area area, RegionId regionId ) |
Initializes a new instance of the Polygon class.
|
public ContainsVertex ( int vertex ) : bool | ||
vertex | int | The Vertex. |
Résultat | bool |
public MergeWith ( Polygon other, int startEdge, int otherStartEdge, int temp ) : void | ||
other | Polygon | The other polygon to merge into this one. |
startEdge | int | This starting edge for this polygon. |
otherStartEdge | int | The starting edge for the other polygon. |
temp | int | A temporary vertex buffer. Must be at least |
Résultat | void |
public Polygon ( int numVertsPerPoly, Area area, RegionId regionId ) | ||
numVertsPerPoly | int | The number of vertices per polygon. |
area | Area | The AreaId |
regionId | RegionId | The RegionId |