User Tools

Site Tools


preview:api:line

Differences

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

Link to this comparison view

Next revision
Previous revision
preview:api:line [2020/01/15 17:59] – created maximepreview:api:line [2023/12/12 12:16] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== LINE ====== ====== LINE ======
  
-**Category**: Data+**Category**: Data structure 
  
  
Line 9: Line 10:
  
 ==== Point ==== ==== Point ====
-  * **Type**: ''vec3f''+//[[:annotations#runtime_only|Runtime only]]// 
 + 
 +  * **Type**: ''[[preview:api:vec3f|vec3f]]'' 
 +  * **Expected**: ''vec3f value''
  
 ---- ----
  
 ==== Direction ==== ==== Direction ====
-  * **Type**: ''vec3f''+//[[:annotations#runtime_only|Runtime only]]// 
 + 
 +  * **Type**: ''[[preview:api:vec3f|vec3f]]'' 
 +  * **Expected**: ''vec3f value'' 
 + 
 +===== Functions ===== 
 + 
 +---- 
 + 
 +==== getClosestPositionToPoint ==== 
 + 
 +''void **LINE.getClosestPositionToPoint**(//object//, //otherPoint//, //outPosition//)'' 
 + 
 +^ Name ^ Type ^ Description ^ 
 +| //''object''// | ''LINE'' |  | 
 +| //''otherPoint''// | ''[[preview:api:vec3f|vec3f]]'' |  | 
 +| //''outPosition''// | ''[[preview:api:vec3f|vec3f]]'' | //[[:annotations#out_argument|Out argument]]//
 + 
 +---- 
 + 
 +==== interception ==== 
 + 
 +''[[preview:data-types#float|float]] **LINE.interception**(//object//, //line2//, //outPoint//)'' 
 + 
 +^ Name ^ Type ^ Description ^ 
 +| //''object''// | ''LINE'' |  | 
 +| //''line2''// | ''[[preview:api:line|LINE]]'' |  | 
 +| //''outPoint''// | ''[[preview:api:vec3f|vec3f]]'' | //[[:annotations#out_argument|Out argument]]//
 + 
 +''[[preview:data-types#float|float]] **LINE.interception**(//object//, //line2//, //outPoint1//, //outPoint2//)'' 
 + 
 +^ Name ^ Type ^ Description ^ 
 +| //''object''// | ''LINE'' |  | 
 +| //''line2''// | ''[[preview:api:line|LINE]]'' |  | 
 +| //''outPoint1''// | ''[[preview:api:vec3f|vec3f]]'' | //[[:annotations#out_argument|Out argument]]//
 +| //''outPoint2''// | ''[[preview:api:vec3f|vec3f]]'' | //[[:annotations#out_argument|Out argument]]// |
  
  
preview/api/line.1579129166.txt.gz · Last modified: 2020/01/15 17:59 by maxime

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki