Packageaway3d.core.geom
Classpublic class Line2D
InheritanceLine2D Inheritance Object

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
  
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####
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