preview:api:polygon
This is an old revision of the document!
Table of Contents
polygon
Category: Data structure
Functions
containsPoint
getClosestPoint
vec2f polygon.getClosestPoint(this, point)
Name | Type | Description |
---|---|---|
this | polygon | |
point | vec2f |
vec2f polygon.getClosestPoint(this, point, outPosition)
Name | Type | Description |
---|---|---|
this | polygon | |
point | vec2f | |
outPosition | float | Out argument |
distance2
distance
reverseOrder
void polygon.reverseOrder(this)
Name | Type | Description |
---|---|---|
this | polygon |
computeCentroid
computeArea
float polygon.computeArea(this)
Name | Type | Description |
---|---|---|
this | polygon |
computeAbsoluteArea
float polygon.computeAbsoluteArea(this)
Name | Type | Description |
---|---|---|
this | polygon |
isClockWise
boolean polygon.isClockWise(this)
Name | Type | Description |
---|---|---|
this | polygon |
isComplex
boolean polygon.isComplex(this)
Name | Type | Description |
---|---|---|
this | polygon |
getMinMax
preview/api/polygon.1590164014.txt.gz · Last modified: 2020/05/22 12:13 by 127.0.0.1