Search in sources :

Example 6 with PlanSkeleton

use of org.twak.siteplan.campskeleton.PlanSkeleton in project chordatlas by twak.

the class GreebleSkel method findSuperEdge.

private SuperEdge findSuperEdge(Output output, List<Face> chain) {
    ColumnProperties col = ((PlanSkeleton) output.skeleton).getDefiningColumn(chain.get(0).edge);
    if (col == null)
        return null;
    Bar bar = col.defBar;
    SETag set = ((SETag) GreebleSkel.getTag(bar.tags, SETag.class));
    return set == null ? null : set.se;
}
Also used : Bar(org.twak.camp.ui.Bar) ColumnProperties(org.twak.siteplan.campskeleton.PlanSkeleton.ColumnProperties) PlanSkeleton(org.twak.siteplan.campskeleton.PlanSkeleton) SETag(org.twak.tweed.gen.skel.SETag)

Aggregations

PlanSkeleton (org.twak.siteplan.campskeleton.PlanSkeleton)6 Spatial (com.jme3.scene.Spatial)2 Bar (org.twak.camp.ui.Bar)2 SuperFace (org.twak.tweed.gen.SuperFace)2 Loop (org.twak.utils.collections.Loop)2 Node (com.jme3.scene.Node)1 ActionEvent (java.awt.event.ActionEvent)1 ActionListener (java.awt.event.ActionListener)1 ArrayList (java.util.ArrayList)1 HashMap (java.util.HashMap)1 IdentityHashMap (java.util.IdentityHashMap)1 JButton (javax.swing.JButton)1 JLabel (javax.swing.JLabel)1 JPanel (javax.swing.JPanel)1 ProgressMonitor (javax.swing.ProgressMonitor)1 Point2d (javax.vecmath.Point2d)1 Output (org.twak.camp.Output)1 Skeleton (org.twak.camp.Skeleton)1 Marker (org.twak.camp.ui.Marker)1 Ship (org.twak.siteplan.anchors.Ship)1