User Tools

Site Tools


preview:api:polygon

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

preview:api:polygon [2020/05/22 12:13]
127.0.0.1 external edit
preview:api:polygon [2020/05/22 12:43] (current)
maxime
Line 9: Line 9:
  
 ==== containsPoint ==== ==== containsPoint ====
-''​boolean **polygon.containsPoint**(//​this//, //​point//​)''​+''​boolean **polygon.containsPoint**(//​object//, //​point//​)''​
  
 ^ Name ^ Type ^ Description ^ ^ Name ^ Type ^ Description ^
-| //''​this''//​ | ''​polygon''​ |  |+| //''​object''//​ | ''​polygon''​ |  |
 | //''​point''//​ | ''​[[preview:​api:​vec2f|vec2f]]''​ |  | | //''​point''//​ | ''​[[preview:​api:​vec2f|vec2f]]''​ |  |
  
Line 18: Line 18:
  
 ==== getClosestPoint ==== ==== getClosestPoint ====
-''​[[preview:​api:​vec2f|vec2f]] **polygon.getClosestPoint**(//​this//, //​point//​)''​+''​[[preview:​api:​vec2f|vec2f]] **polygon.getClosestPoint**(//​object//, //​point//​)''​
  
 ^ Name ^ Type ^ Description ^ ^ Name ^ Type ^ Description ^
-| //''​this''//​ | ''​polygon''​ |  |+| //''​object''//​ | ''​polygon''​ |  |
 | //''​point''//​ | ''​[[preview:​api:​vec2f|vec2f]]''​ |  | | //''​point''//​ | ''​[[preview:​api:​vec2f|vec2f]]''​ |  |
  
-''​[[preview:​api:​vec2f|vec2f]] **polygon.getClosestPoint**(//​this//, //point//, //​outPosition//​)''​+''​[[preview:​api:​vec2f|vec2f]] **polygon.getClosestPoint**(//​object//, //point//, //​outPosition//​)''​
  
 ^ Name ^ Type ^ Description ^ ^ Name ^ Type ^ Description ^
-| //''​this''//​ | ''​polygon''​ |  |+| //''​object''//​ | ''​polygon''​ |  |
 | //''​point''//​ | ''​[[preview:​api:​vec2f|vec2f]]''​ |  | | //''​point''//​ | ''​[[preview:​api:​vec2f|vec2f]]''​ |  |
 | //''​outPosition''//​ | ''​float''​ | Out argument | | //''​outPosition''//​ | ''​float''​ | Out argument |
Line 34: Line 34:
  
 ==== distance2 ==== ==== distance2 ====
-''​float **polygon.distance2**(//​this//, //​point//​)''​+''​float **polygon.distance2**(//​object//, //​point//​)''​
  
 ^ Name ^ Type ^ Description ^ ^ Name ^ Type ^ Description ^
-| //''​this''//​ | ''​polygon''​ |  |+| //''​object''//​ | ''​polygon''​ |  |
 | //''​point''//​ | ''​[[preview:​api:​vec2f|vec2f]]''​ |  | | //''​point''//​ | ''​[[preview:​api:​vec2f|vec2f]]''​ |  |
  
Line 43: Line 43:
  
 ==== distance ==== ==== distance ====
-''​float **polygon.distance**(//​this//, //​point//​)''​+''​float **polygon.distance**(//​object//, //​point//​)''​
  
 ^ Name ^ Type ^ Description ^ ^ Name ^ Type ^ Description ^
-| //''​this''//​ | ''​polygon''​ |  |+| //''​object''//​ | ''​polygon''​ |  |
 | //''​point''//​ | ''​[[preview:​api:​vec2f|vec2f]]''​ |  | | //''​point''//​ | ''​[[preview:​api:​vec2f|vec2f]]''​ |  |
  
Line 52: Line 52:
  
 ==== reverseOrder ==== ==== reverseOrder ====
-''​void **polygon.reverseOrder**(//​this//​)''​+''​void **polygon.reverseOrder**(//​object//​)''​
  
 ^ Name ^ Type ^ Description ^ ^ Name ^ Type ^ Description ^
-| //''​this''//​ | ''​polygon''​ |  |+| //''​object''//​ | ''​polygon''​ |  |
  
 ---- ----
  
 ==== computeCentroid ==== ==== computeCentroid ====
-''​[[preview:​api:​vec2f|vec2f]] **polygon.computeCentroid**(//​this//​)''​+''​[[preview:​api:​vec2f|vec2f]] **polygon.computeCentroid**(//​object//​)''​
  
 ^ Name ^ Type ^ Description ^ ^ Name ^ Type ^ Description ^
-| //''​this''//​ | ''​polygon''​ |  |+| //''​object''//​ | ''​polygon''​ |  |
  
 ---- ----
  
 ==== computeArea ==== ==== computeArea ====
-''​float **polygon.computeArea**(//​this//​)''​+''​float **polygon.computeArea**(//​object//​)''​
  
 ^ Name ^ Type ^ Description ^ ^ Name ^ Type ^ Description ^
-| //''​this''//​ | ''​polygon''​ |  |+| //''​object''//​ | ''​polygon''​ |  |
  
 ---- ----
  
 ==== computeAbsoluteArea ==== ==== computeAbsoluteArea ====
-''​float **polygon.computeAbsoluteArea**(//​this//​)''​+''​float **polygon.computeAbsoluteArea**(//​object//​)''​
  
 ^ Name ^ Type ^ Description ^ ^ Name ^ Type ^ Description ^
-| //''​this''//​ | ''​polygon''​ |  |+| //''​object''//​ | ''​polygon''​ |  |
  
 ---- ----
  
 ==== isClockWise ==== ==== isClockWise ====
-''​boolean **polygon.isClockWise**(//​this//​)''​+''​boolean **polygon.isClockWise**(//​object//​)''​
  
 ^ Name ^ Type ^ Description ^ ^ Name ^ Type ^ Description ^
-| //''​this''//​ | ''​polygon''​ |  |+| //''​object''//​ | ''​polygon''​ |  |
  
 ---- ----
  
 ==== isComplex ==== ==== isComplex ====
-''​boolean **polygon.isComplex**(//​this//​)''​+''​boolean **polygon.isComplex**(//​object//​)''​
  
 ^ Name ^ Type ^ Description ^ ^ Name ^ Type ^ Description ^
-| //''​this''//​ | ''​polygon''​ |  |+| //''​object''//​ | ''​polygon''​ |  |
  
 ---- ----
  
 ==== getMinMax ==== ==== getMinMax ====
-''​void **polygon.getMinMax**(//​this//, //outMin//, //​outMax//​)''​+''​void **polygon.getMinMax**(//​object//, //outMin//, //​outMax//​)''​
  
 ^ Name ^ Type ^ Description ^ ^ Name ^ Type ^ Description ^
-| //''​this''//​ | ''​polygon''​ |  |+| //''​object''//​ | ''​polygon''​ |  |
 | //''​outMin''//​ | ''​[[preview:​api:​vec2f|vec2f]]''​ | Out argument | | //''​outMin''//​ | ''​[[preview:​api:​vec2f|vec2f]]''​ | Out argument |
 | //''​outMax''//​ | ''​[[preview:​api:​vec2f|vec2f]]''​ | Out argument | | //''​outMax''//​ | ''​[[preview:​api:​vec2f|vec2f]]''​ | Out argument |
  
preview/api/polygon.txt ยท Last modified: 2020/05/22 12:43 by maxime