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
  
cross(u:Line2D, v:Line2D):Vector3D
[static]
Line2D
  
distance(v:Vector3D):Number
Line2D
  
from2points(v0x:Number, v0y:Number, v1x:Number, v1y:Number):Line2D
[static]
Line2D
  
side(x:Number, y:Number):Number
Line2D
  
sideV(v:Vector3D):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):Vector3D Parameters
u:Line2D
 
v:Line2D

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

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:Vector3D):Number Parameters
v:Vector3D

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