Module Mesh :: Class MEdge
[frames | no frames]

Class MEdge


The MEdge object

This object holds mesh edge data.
Method Summary
MVert __iter__()
Iterator for MEdge.

Instance Variable Summary
int crease: The crease value of the edge.
int flag: The bitfield describing edge properties.
int index: The edge's index within the mesh.
MVert v1: The first vertex of the edge.
MVert v2: The second vertex of the edge.

Method Details

__iter__()

Iterator for MEdge. It iterates over the MVerts of the edge, returning v1 then v2.
Returns:
one of the edge's vertices
           (type=MVert)

Instance Variable Details

crease

The crease value of the edge. It is in the range [0,255].
Type:
int

flag

The bitfield describing edge properties. See EdgeFlags.
Type:
int

index

The edge's index within the mesh. Read-only.
Type:
int

v1

The first vertex of the edge.
Type:
MVert

v2

The second vertex of the edge.
Type:
MVert

Generated by Epydoc 2.1 on Thu Dec 22 22:38:12 2005 http://epydoc.sf.net