Examples of expand()


Examples of buildcraft.core.Box.expand()

  @Override
  public AxisAlignedBB getRenderBoundingBox() {
    Box renderBox = new Box(this).extendToEncompass(box);

    return renderBox.expand(50).getBoundingBox();
  }

  @RPC(RPCSide.SERVER)
  private void uploadBuildersInAction(RPCMessageInfo info) {
    for (BuildingItem i : buildersInAction) {
View Full Code Here

Examples of ca.eandb.jmist.framework.path.PathNode.expand()

      Point2 p = RandomUtil.canonical2(rnd);
      newEyeTail = lens.sample(p, pi, rnd.next(), rnd.next(), rnd.next());
      m1--;
    }
    while (m1-- > 0) {
      newEyeTail = newEyeTail.expand(rnd.next(), rnd.next(), rnd.next());
      if (newEyeTail == null || newEyeTail.isAtInfinity()) {
        return null;
      }
    }
View Full Code Here

Examples of client.net.sf.saxon.ce.value.StringValue.expand()

        StringValue sv3 = (StringValue)argument[2].evaluateItem(context);

        int[] a1 = sv1.expand();
        int[] a2 = sv2.expand();
        int[] a3 = sv3.expand();

        int length1 = a1.length;
        int length2 = a2.length;
        FastStringBuffer sb = new FastStringBuffer(length1);
    inputLoop:
View Full Code Here

Examples of cofh.repack.codechicken.lib.vec.CuboidCoord.expand()

      CuboidCoord c = new CuboidCoord(b);
      solid[b.x][b.y][b.z] = false;

      for (int s = 0; s < 6; s++) {
        CuboidCoord slice = c.copy();
        slice.expand(s ^ 1, -(slice.size(s) - 1));
        slice.expand(s, 1);

        while (slice.getSide(s) >= 0 && slice.getSide(s) < size.getSide(s)) {
          if (!voxelFull(solid, slice)) {
            break;
View Full Code Here

Examples of com.cburch.logisim.data.Bounds.expand()

      if (y < y0) y0 = y;
      if (y > y1) y1 = y;
    }
    Bounds bds = Bounds.create(x0, y0, x1 - x0 + 1, y1 - y0 + 1);
    int stroke = getStrokeWidth();
    bounds = stroke < 2 ? bds : bds.expand(stroke / 2);
  }

  private GeneralPath getPath() {
    GeneralPath p = path;
    if (p == null) {
View Full Code Here

Examples of com.damnhandy.uri.template.UriTemplate.expand()

                    UriValue uriValue = link.uriValues()[i];

                    assignTemplateValue(uriTemplate, uriValue.name(), uriValue.value());
                }

                href = uriTemplate.expand();
            } catch (MalformedUriTemplateException | VariableExpansionException e) {
                throw new RuntimeException(e);
            }
        } else {
            href = halLink.getHref();
View Full Code Here

Examples of com.dtolabs.rundeck.core.utils.PropertyLookup.expand()

                    nodeWideDepotProps, Framework.createPropertyLookupFromBasedir(baseDir));
        } else {
            lookup = PropertyLookup.create(fwkProjectPropertyFile,
                    ownProps, Framework.createPropertyLookupFromBasedir(baseDir));
        }
        lookup.expand();
        return lookup;
    }

    /**
     * Create a property retriever for a project given the framework basedir
View Full Code Here

Examples of com.eviware.soapui.impl.wsdl.panels.support.MockTestRunContext.expand()

    MockTestRunner mockTestRunner = new MockTestRunner( testCase, Logger.getLogger( "testing" ) );
    MockTestRunContext context = new MockTestRunContext( mockTestRunner, testStep );

    PropertyExpansionUtils.getGlobalProperties().setPropertyValue( "testSuiteId", "testing" );

    assertEquals( "123", context.expand( "${#Project#projectId}" ) );
    assertEquals( "234", context.expand( "${#TestSuite#testSuiteId}" ) );
    assertEquals( "345", context.expand( "${#TestCase#testCaseId}" ) );

    SoapUI.getSettings().setBoolean( GlobalPropertySettings.ENABLE_OVERRIDE, true );
View Full Code Here

Examples of com.eviware.soapui.model.propertyexpansion.DefaultPropertyExpansionContext.expand()

      String key = scope + "." + name;
      if( PropertyUtils.isWriteable( target, name ) && properties.containsKey( key ) )
      {
        try
        {
          String value = context.expand( String.valueOf( properties.get( key ) ) );
          BeanUtils.setProperty( target, name, value );
          SoapUI.log.info( "Set property [" + name + "] to [" + value + "] in scope [" + scope + "]" );
        }
        catch( Throwable e )
        {
View Full Code Here

Examples of com.eviware.soapui.model.testsuite.TestCaseRunContext.expand()

 
  @Test
  public void testRunBasic() throws Exception {
    WsdlTestCase mockTestCase = Mockito.mock(WsdlTestCase.class);
    TestCaseRunContext mockRunContext = Mockito.mock(TestCaseRunContext.class);
    Mockito.when(mockRunContext.expand("5 + 5")).thenReturn("5 + 5");
    TestStepConfig config = TestStepConfig.Factory.newInstance();
    config.setName("Math Evaluator");
    config.setType("expreval");
    XmlObject xmlObject = config.addNewConfig();
   
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.