Chapter 22: halfedge object, Halfedge.getedge(), Returns a – Adobe Extending Flash Professional CS5 User Manual
Page 326: Halfedge object
304
Last updated 5/2/2011
Chapter 22: HalfEdge object
Availability
Flash MX 2004.
Description
The HalfEdge object is the directed side of the edge of a
. 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
The following methods are available for the HalfEdge object:
Property summary
The following properties are available for the HalfEdge object:
halfEdge.getEdge()
Availability
Flash MX 2004.
Usage
halfEdge.getEdge()
Parameters
None.
Method
Description
Gets the
Gets the next half edge on the current contour.
halfEdge.getOppositeHalfEdge()
Gets the HalfEdge object on the other side of the edge.
Gets the preceding HalfEdge object on the current contour.
Gets the
at the head of the HalfEdge object.
Property
Description
Read-only; a unique integer identifier for the HalfEdge object.
An integer with a value of 0 or 1 that specifies the index for this HalfEdge object
in the parent edge.