Package net.wigis.graph.dnv.geometry

Examples of net.wigis.graph.dnv.geometry.Circle


    {
      for( Geometric g : graph.getGeometricObjects( level ) )
      {
        if( g instanceof Circle )
        {
          Circle c = (Circle)g;
          c.setCenter( (float)( c.getCenter().getX() * xRatio ), (float)( c.getCenter().getY() * yRatio ) );
        }
        else if( g instanceof Rectangle )
        {
          Rectangle r = (Rectangle)g;
          r.setBottomRight( (float)( r.getBottomRight().getX() * xRatio ), (float)( r.getBottomRight().getY() * yRatio ) );
View Full Code Here

TOP

Related Classes of net.wigis.graph.dnv.geometry.Circle

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.