Package | com.yworks.yfiles.layout.planar |
Interface | public interface SubdivisionHandler |
Implementors | DualPlanarInformation |
Method | Defined By | ||
---|---|---|---|
A face is split by adding an edge. | SubdivisionHandler | ||
This method is handled every time the method subdivide (PlanarInformation) is invoked. | SubdivisionHandler | ||
unsplitFace(edge:Edge, oldFaces:Vector.<Object>, newFaces:Vector.<Object>):void
Faces are unsplit by removing an edge. | SubdivisionHandler | ||
unsubdivide(splitEdges:Vector.<Object>, e:Edge):void
This method transfers edge information from split edges to the resulting edge. | SubdivisionHandler |
splitFace | () | method |
public function splitFace(edge:Edge, oldFaces:Vector.<Object>, newFaces:Vector.<Object>):void
A face is split by adding an edge.
Parameters
edge:Edge — the edge which splits the face.
| |
oldFaces:Vector.<Object> — the faces in the old embedding which change.
| |
newFaces:Vector.<Object> — the faces in the new embedding which change.
|
subdivide | () | method |
public function subdivide(e:Edge, result:Vector.<Object>):void
This method is handled every time the method subdivide (PlanarInformation) is invoked. You can transfer edge information from the old edge to the new edges e.g. information from EdgeMaps.
Parameters
e:Edge | |
result:Vector.<Object> |
unsplitFace | () | method |
public function unsplitFace(edge:Edge, oldFaces:Vector.<Object>, newFaces:Vector.<Object>):void
Faces are unsplit by removing an edge.
Parameters
edge:Edge — the edge which unsplits the faces.
| |
oldFaces:Vector.<Object> — the faces in the old embedding which change.
| |
newFaces:Vector.<Object> — the faces in the new embedding which change.
|
unsubdivide | () | method |
public function unsubdivide(splitEdges:Vector.<Object>, e:Edge):void
This method transfers edge information from split edges to the resulting edge.
Parameters
splitEdges:Vector.<Object> | |
e:Edge |