HalfEdge object
195
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 visit 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.
Usage
halfEdge.getEdge()
Parameters
None.
Returns
An
Edge 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
Description
halfEdge.id
Read-only; a unique integer identifier for the halfEdge object.
CHAPTER 3
Objects
Содержание FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY
Страница 1: ...Flash JavaScript Dictionary ...
Страница 16: ...16 Contents ...
Страница 40: ...40 Chapter 2 Top level functions ...
Страница 368: ...368 Chapter 3 Objects ...
Страница 386: ...386 Chapter 4 C Level Extensibility ...