Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 2.07 KB

File metadata and controls

33 lines (21 loc) · 2.07 KB

halfEdge summary

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

The following methods are available for the HalfEdge object:

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 summary

The following properties are available for the HalfEdge object:

Property Description
halfEdge.id Read-only; a unique integer identifier for the HalfEdge object.