Packageflare.physics.geom
Classpublic final class Edge
InheritanceEdge Inheritance flash.geom.Vector3D

A normalized axis edge structure for Triangle class.

See also

Triangle


Public Properties
 PropertyDefined By
  tri : Triangle
The triangle which owns this edge.
Edge
  v0 : Vertex
First vertex.
Edge
  v1 : Vertex
Second vertex.
Edge
  valid : Boolean = true
If the edge is valid or not according to a triangle / edge threshold.
Edge
Public Methods
 MethodDefined By
  
Creates a new edge beween two vertices.
Edge
Property Detail
triproperty
public var tri:Triangle

The triangle which owns this edge.

v0property 
public var v0:Vertex

First vertex.

v1property 
public var v1:Vertex

Second vertex.

validproperty 
public var valid:Boolean = true

If the edge is valid or not according to a triangle / edge threshold.

Constructor Detail
Edge()Constructor
public function Edge(v0:Vertex, v1:Vertex)

Creates a new edge beween two vertices.

Parameters
v0:Vertex — The first vertex.
 
v1:Vertex — The second vertex.