plane3_compute_plane_intersection
Functions
- plane3_compute_plane_intersection(p1, p2, out_point, out_direction) ⇒
boolean
Algorithm taken from http://geomalgorithms.com/a05-_intersect-1.html. See the section 'Intersection of 2 Planes' and specifically the subsection (A) Direct Linear Equation TODO consolidate with plane3_intersect_plane as they seem to do the same thing
- solveIntersectingPoint(zeroCoord, A, B, p1, p2, result)
This method helps finding a point on the intersection between two planes. Depending on the orientation of the planes, the problem could solve for the zero point on either the x, y or z axis
plane3_compute_plane_intersection(p1, p2, out_point, out_direction) ⇒ boolean
Algorithm taken from http://geomalgorithms.com/a05-_intersect-1.html. See the section 'Intersection of 2 Planes' and specifically the subsection (A) Direct Linear Equation TODO consolidate with plane3_intersect_plane as they seem to do the same thing
Kind: global function
Param | Type |
---|---|
p1 | Plane |
p2 | Plane |
out_point | Vector3 |
out_direction | Vector3 |
solveIntersectingPoint(zeroCoord, A, B, p1, p2, result)
This method helps finding a point on the intersection between two planes. Depending on the orientation of the planes, the problem could solve for the zero point on either the x, y or z axis
Kind: global function
Param | Type |
---|---|
zeroCoord | string |
A | string |
B | string |
p1 | THREE.Plane |
p2 | THREE.Plane |
result | Vector3 |