Package net.lucidviews.geoalgo.limb.refine

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


    limb.setIntersection( point );
   
    Options options = new Options();
    options.setScreenSize( this.halfScreenSize );
   
    PositionAssignmentLimbRefiner testObj = new PositionAssignmentLimbRefiner();
    testObj.refine( limb, this.defaultView, options );
   
    assertNotNull( limb.getPosition() );
    Geometry position = limb.getPosition();
    assertTrue( position instanceof Point );
    assertEquals( expectedScreenX, ((Point)position).getCoordinate().x, DOUBLE_TOLERANCE );
View Full Code Here


    limb.setIntersection( point );
   
    Options options = new Options();
    options.setScreenSize( this.trebleScreenSize );
   
    PositionAssignmentLimbRefiner testObj = new PositionAssignmentLimbRefiner();
    testObj.refine( limb, this.defaultView, options );
   
    assertNotNull( limb.getPosition() );
    Geometry position = limb.getPosition();
    assertTrue( position instanceof Point );
    assertEquals( expectedScreenX, ((Point)position).getCoordinate().x, DOUBLE_TOLERANCE );
View Full Code Here

    limb.setIntersection( outerCollection );
   
    Options options = new Options();
    options.setScreenSize( this.halfScreenSize );
   
    PositionAssignmentLimbRefiner testObj = new PositionAssignmentLimbRefiner();
    testObj.refine( limb, this.defaultView, options );
   
    assertTrue( limb.getPosition() instanceof GeometryCollection );
    GeometryCollection position = (GeometryCollection)limb.getPosition();
    assertTrue( position.getGeometryN( 0 ) instanceof MultiLineString );
    MultiLineString position1 = (MultiLineString)position.getGeometryN( 0 );
View Full Code Here

TOP

Related Classes of net.lucidviews.geoalgo.limb.refine.PositionAssignmentLimbRefiner

Copyright © 2018 www.massapicom. 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.