====== LINE ====== **Category**: Data structure ===== Properties ===== ---- ==== Point ==== //[[:annotations#runtime_only|Runtime only]]// * **Type**: ''[[preview:api:vec3f|vec3f]]'' * **Expected**: ''vec3f value'' ---- ==== Direction ==== //[[: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]]// |