Packageaway3d.core.geom
Classpublic class Line2D

Line in 2D space

Public Properties
 PropertyDefined by
  a : Number
Line2D
  b : Number
Line2D
  c : Number
Line2D
Public Methods
 MethodDefined by
  
Line2D
(a:Number, b:Number, c:Number)
Line2D
  
[static]
Line2D
  
Line2D
  
from2points(v0x:Number, v0y:Number, v1x:Number, v1y:Number):Line2D
[static]
Line2D
  
side(x:Number, y:Number):Number
Line2D
  
sideV(v:ScreenVertex):Number
Line2D
  
toString():String
Line2D
Property detail
aproperty
public var a:Number
bproperty 
public var b:Number
cproperty 
public var c:Number
Constructor detail
Line2D()constructor
public function Line2D(a:Number, b:Number, c:Number)Parameters
a:Number
 
b:Number
 
c:Number
Init Parameters
Method detail
cross()method
public static function cross(u:Line2D, v:Line2D):ScreenVertex Parameters
u:Line2D
 
v:Line2D

Returns
ScreenVertex
distance()method 
public function distance(v:ScreenVertex):Number Parameters
v:ScreenVertex

Returns
Number
from2points()method 
public static function from2points(v0x:Number, v0y:Number, v1x:Number, v1y:Number):Line2D Parameters
v0x:Number
 
v0y:Number
 
v1x:Number
 
v1y:Number

Returns
Line2D
side()method 
public function side(x:Number, y:Number):Number Parameters
x:Number
 
y:Number

Returns
Number
sideV()method 
public function sideV(v:ScreenVertex):Number Parameters
v:ScreenVertex

Returns
Number
toString()method 
public function toString():String

Returns
String
Wiki link
Click to go to the wiki page for 'away3d.core.geom.Line2D'

Code examples

Comments