Examples of combine()


Examples of org.jbox2d.collision.AABB.combine()

    int height;
    height = 1 + MathUtils.max(height1, height2);
    assert (m_height[node] == height);

    AABB aabb = new AABB();
    aabb.combine(m_aabb[child1], m_aabb[child2]);

    assert (aabb.lowerBound.equals(m_aabb[node].lowerBound));
    assert (aabb.upperBound.equals(m_aabb[node].upperBound));

    validateMetrics(child1);
View Full Code Here

Examples of org.jbox2d.collision.AABB.combine()

    int height;
    height = 1 + MathUtils.max(height1, height2);
    assert (node.height == height);

    AABB aabb = new AABB();
    aabb.combine(child1.aabb, child2.aabb);

    assert (aabb.lowerBound.equals(node.aabb.lowerBound));
    assert (aabb.upperBound.equals(node.aabb.upperBound));

    validateMetrics(child1);
View Full Code Here

Examples of org.jibeframework.core.app.config.ConfigElement.combine()

        }
      } else {
        boolean applies = evaluator.applies(element.getCondition());
        if (applies) {
          if (!element.isReplace()) {
            result = result.combine(element);
          } else {
            result = element;
          }
        }
      }
View Full Code Here

Examples of org.jpedal.jbig2.image.JBIG2Bitmap.combine()

      if (JBIG2StreamDecoder.debug)
        System.out.println(pageBitmap + " " + bitmap);

      int externalCombinationOperator = regionFlags.getFlagValue(RegionFlags.EXTERNAL_COMBINATION_OPERATOR);
      pageBitmap.combine(bitmap, regionBitmapXLocation, regionBitmapYLocation, externalCombinationOperator);
    } else {
      bitmap.setBitmapNumber(getSegmentHeader().getSegmentNumber());
      decoder.appendBitmap(bitmap);
    }
View Full Code Here

Examples of org.jpedal.jbig2.image.JBIG2Bitmap.combine()

      PageInformationSegment pageSegment = decoder.findPageSegement(segmentHeader.getPageAssociation());
      JBIG2Bitmap pageBitmap = pageSegment.getPageBitmap();

      int extCombOp = regionFlags.getFlagValue(RegionFlags.EXTERNAL_COMBINATION_OPERATOR);

      pageBitmap.combine(bitmap, regionBitmapXLocation, regionBitmapYLocation, extCombOp);
    } else {
      bitmap.setBitmapNumber(getSegmentHeader().getSegmentNumber());
      decoder.appendBitmap(bitmap);
    }
  }
View Full Code Here

Examples of org.jpedal.jbig2.image.JBIG2Bitmap.combine()

            if(pageSegment.getPageBitmapHeight() == -1 && regionBitmapYLocation + regionBitmapHeight > pageBitmap.getHeight()) {
              pageBitmap.expand(regionBitmapYLocation + regionBitmapHeight,
                  pageSegment.getPageInformationFlags().getFlagValue(PageInformationFlags.DEFAULT_PIXEL_VALUE));
            }
           
            pageBitmap.combine(bitmap, regionBitmapXLocation, regionBitmapYLocation, extCombOp);
        } else {
      bitmap.setBitmapNumber(getSegmentHeader().getSegmentNumber());
      decoder.appendBitmap(bitmap);
    }
View Full Code Here

Examples of org.jpedal.jbig2.image.JBIG2Bitmap.combine()

    if (inlineImage) {
      PageInformationSegment pageSegment = decoder.findPageSegement(segmentHeader.getPageAssociation());
      JBIG2Bitmap pageBitmap = pageSegment.getPageBitmap();

      int externalCombinationOperator = regionFlags.getFlagValue(RegionFlags.EXTERNAL_COMBINATION_OPERATOR);
      pageBitmap.combine(bitmap, regionBitmapXLocation, regionBitmapYLocation, externalCombinationOperator);
    } else {
      bitmap.setBitmapNumber(getSegmentHeader().getSegmentNumber());
      decoder.appendBitmap(bitmap);
    }
View Full Code Here

Examples of org.shiftone.jrat.core.MethodKeyAccumulator.combine()

      MethodKeyAccumulator accumulator = (MethodKeyAccumulator) map.get(methodKey);
      if (accumulator == null) {
        accumulator = new MethodKeyAccumulator(methodKey);
        map.put(methodKey, accumulator);
      }
      accumulator.combine(nodeModel);
    }
    for (int i = 0; i < nodeModel.getChildCount(); i++) {
      populateTable(nodeModel.getStackTreeNodeAt(i), map);
    }
  }
View Full Code Here

Examples of org.springframework.util.AntPathMatcher.combine()

  public Object resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer,
          NativeWebRequest webRequest, WebDataBinderFactory binderFactory) throws Exception {
    AntPathMatcher pathMatcher = new AntPathMatcher();
    RequestMapping requestMappingOnMethod = parameter.getMethodAnnotation(RequestMapping.class);
    RequestMapping requestMappingOnClass = getDeclaringClassRequestMapping(parameter);
    String combine = pathMatcher.combine(requestMappingOnClass.value()[0], requestMappingOnMethod.value()[0]);
    return PathUtils.removePrependedSlash(pathMatcher.extractPathWithinPattern(combine, (String) webRequest
        .getAttribute(HandlerMapping.PATH_WITHIN_HANDLER_MAPPING_ATTRIBUTE,
            NativeWebRequest.SCOPE_REQUEST)));
  }
View Full Code Here

Examples of org.springframework.util.PathMatcher.combine()

    PathMatcher pathMatcher = this.context.getPathMatcher();
    if (pathMatcher == null) {
      pathMatcher = new AntPathMatcher();
    }
    url = pathMatcher.combine(url, methodRequestMapping.value()[0]);
    if (!url.startsWith("/")) {
      url = "/" + url;
    }
    return url;
  }
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.