Package | away3d.core.geom |
Class | public class Line2D |
Method | Defined by | ||
---|---|---|---|
Line2D
(a:Number, b:Number, c:Number) | Line2D | ||
[static]
| Line2D | ||
distance(v:Vector3D):Number
| Line2D | ||
[static]
| Line2D | ||
side(x:Number, y:Number):Number
| Line2D | ||
sideV(v:Vector3D):Number
| Line2D | ||
toString():String
| Line2D |
a | property |
public var a:Number
b | property |
public var b:Number
c | property |
public var c:Number
Line2D | () | constructor |
public function Line2D(a:Number, b:Number, c:Number)
Parameters
a:Number |
|
b:Number |
|
c:Number |
cross | () | method |
public static function cross(u:Line2D, v:Line2D):Vector3D
Parameters
u:Line2D |
|
v:Line2D |
Vector3D |
distance | () | method |
public function distance(v:Vector3D):Number
Parameters
v:Vector3D |
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 |
Line2D |
side | () | method |
public function side(x:Number, y:Number):Number
Parameters
x:Number |
|
y:Number |
Number |
sideV | () | method |
public function sideV(v:Vector3D):Number
Parameters
v:Vector3D |
Number |
toString | () | method |
public function toString():String
Returns
String |