![MACROMEDIA FLASH 8-EXTENDING FLASH Manual Download Page 289](http://html1.mh-extra.com/html/macromedia/flash-8-extending-flash/flash-8-extending-flash_manual_3348049289.webp)
HalfEdge object
289
HalfEdge object
Availability
Flash MX 2004.
Description
The HalfEdge object is the directed side of the edge of a
Shape object
. An edge has two half
edges. You can transverse the contours of a shape by “walking around” these half edges. For
example, starting from a half edge, you can trace all the half edges around a contour of a
shape, and return to the original half edge.
Half edges are ordered. One half edge represents one side of the edge; the other half edge
represents the other side.
Method summary for the HalfEdge object
The following methods are available for the HalfEdge object:
Property summary for the HalfEdge object
The following properties are available for the HalfEdge object:
halfEdge.getEdge()
Availability
Flash MX 2004.
Method
Description
halfEdge.getEdge()
Gets the
Edge object
for the HalfEdge object.
halfEdge.getNext()
Gets the next half edge on the current contour.
halfEdge.getOppositeHalfEdge()
Gets the HalfEdge object on the other side of the edge.
halfEdge.getPrev()
Gets the preceding HalfEdge object on the current contour.
halfEdge.getVertex()
Gets the
Vertex object
at the head of the HalfEdge object.
Property
Description
halfEdge.id
Read-only; a unique integer identifier for the HalfEdge
object.
halfEdge.index
CHAPTER 21
Objects
Summary of Contents for FLASH 8-EXTENDING FLASH
Page 1: ...Extending Flash...
Page 38: ...38 Top Level Functions and Methods...
Page 532: ...532 Objects...
Page 554: ...554 C Level Extensibility...