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