Examples of LabelAssignmentLimbRefiner


Examples of net.lucidviews.geoalgo.limb.refine.LabelAssignmentLimbRefiner

    LimbGenerator testObj = new LimbGenerator();
    testObj.setIntersectionGeneratorClass( SimpleIntersectionGenerator.class );
    testObj.setIntersectionProcessors( Arrays.asList( new DiscardNegligibleIntersectionProcessor(),
                                                      new DiscardSmallerLineSegmentsIntersectionProcessor() ) );
    testObj.setLimbRefiners( Arrays.asList( new EdgeAssigmentLimbRefiner(),
                                            new LabelAssignmentLimbRefiner().using( new SimpleFeatureLabelFormatter() ),
                                            new LeanBeanLimbRefiner() ) );
   
    List<Limb> limbs = testObj.computeLimbs( view, this.polygons, options );
    //System.out.println( limbs );
   
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.