Examples of PositionAssignmentLimbRefiner


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

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

    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

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

    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
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.