Halfedge.getprev(); Halfedge.getvertex() - MACROMEDIA FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY Manual

Flash javascript dictionary
Hide thumbs Also See for FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY:
Table of Contents

Advertisement

Description
Method; gets the halfEdge object on the other side of the edge.
Example
The following example stores the half edge opposite
var shape = fl.getDocumentDOM().selection[0];
var hEdge = shape.edges[0].getHalfEdge(0);
var otherHalfEdge = hEdge.getOppositeHalfEdge();

halfEdge.getPrev()

Availability
Flash MX 2004.
Usage
halfEdge.getPrev()
Parameters
None.
Returns
A halfEdge object.
Description
Method; gets the preceding halfEdge object on the current contour.
Note: Although half edges have a direction and a sequence order, edges do not.
Example
The following example stores the previous half edge of the specified contour in the
variable:
prevHalfEdge
var shape = fl.getDocumentDOM().selection[0];
var hEdge = shape.edges[0].getHalfEdge( 0 );
var prevHalfEdge = hEdge.getPrev();

halfEdge.getVertex()

Availability
Flash MX 2004.
Usage
halfEdge.getVertex()
Parameters
None.
Returns
A
Vertex
object.
in the
hEdge
otherHalfEdge
variable:
HalfEdge object
197

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash mx 2004 - actionscript

Table of Contents