GIScene.Line2 Class
Represents a mathematical 2D Line
Constructor
GIScene.Line2
(
-
positionVector2
-
directionVector2
Parameters:
-
positionVector2
THREE.Vector2 -
directionVector2
THREE.Vector2
Item Index
Methods
Methods
fromPoints
(
GIScene.Line2
-
pointA2
-
pointB2
Creates a Line2 by specifying two points somewhere on that line
Parameters:
-
pointA2
THREE.Vector2 -
pointB2
THREE.Vector2
Returns:
intersect
(
THREE.Vector2
-
line2
Computes the intersection point between this line and a second one
Parameters:
-
line2
Object
Returns:
THREE.Vector2:
instersectionPoint