Packagepegas.geom
Classpublic class Plane
ImplementsGeometry

Plane representation is a two-dimensional doubly ruled surface in a 3D space. Used maily to represent the frustrum planes of the camera.



Public Properties
 PropertyDefined by
  a : Number
Defined the first plane coordinate.
Plane
  b : Number
Defined the second plane coordinate.
Plane
  c : Number
Defined the third plane coordinate.
Plane
  d : Number
Defined the forth plane coordinate.
Plane
Public Methods
 MethodDefined by
  
Plane(a:Number = 0, b:Number = 0, c:Number = 0, d:Number = 0)
Creates a new Plane instance.
Plane
  
clone():*
Returns a shallow copy of this instance.
Plane
  
equals(o:*):Boolean
Compares the specified object with this object for equality.
Plane
  
toObject():Object
Returns the Object representation of this object.
Plane
  
toSource(indent:int = 0):String
Returns the source code string representation of the object.
Plane
  
toString():String
Returns the string representation of the object.
Plane
Property detail
aproperty
public var a:Number

Defined the first plane coordinate.

bproperty 
public var b:Number

Defined the second plane coordinate.

cproperty 
public var c:Number

Defined the third plane coordinate.

dproperty 
public var d:Number

Defined the forth plane coordinate.

Constructor detail
Plane()constructor
public function Plane(a:Number = 0, b:Number = 0, c:Number = 0, d:Number = 0)

Creates a new Plane instance.

Parameters
a:Number (default = 0) — the first plane coordinate.
 
b:Number (default = 0) — the second plane coordinate.
 
c:Number (default = 0) — the third plane coordinate.
 
d:Number (default = 0) — the forth plane coordinate.
Method detail
clone()method
public function clone():*

Returns a shallow copy of this instance.

Returns
* — a shallow copy of this instance.
equals()method 
public function equals(o:*):Boolean

Compares the specified object with this object for equality.

Parameters
o:*

Returns
Booleantrue if the the specified object is equal with this object.
toObject()method 
public function toObject():Object

Returns the Object representation of this object.

Returns
Object — the Object representation of this object.
toSource()method 
public function toSource(indent:int = 0):String

Returns the source code string representation of the object.

Parameters
indent:int (default = 0)

Returns
String — the source code string representation of the object.
toString()method 
public function toString():String

Returns the string representation of the object.

Returns
String — the string representation of the object.