/external/jmonkeyengine/engine/src/core/com/jme3/collision/bih/ |
BIHTree.java | 34 import com.jme3.bounding.BoundingBox; 137 BoundingBox sceneBbox = createBox(0, numTris - 1); 141 private BoundingBox createBox(int l, int r) { 153 BoundingBox.checkMinMax(min, max, v1); 154 BoundingBox.checkMinMax(min, max, v2); 155 BoundingBox.checkMinMax(min, max, v3); 158 BoundingBox bbox = new BoundingBox(min, max); 193 private void setMinMax(BoundingBox bbox, boolean doMin, int axis, float value) { 206 private float getMinMax(BoundingBox bbox, boolean doMin, int axis) [all...] |
/external/jmonkeyengine/engine/src/tools/jme3tools/optimize/ |
Octnode.java | 35 import com.jme3.bounding.BoundingBox; 64 final BoundingBox bbox; 71 public Octnode(BoundingBox bbox, ArrayList<OCTTriangle> tris){ 76 private BoundingBox getChildBound(int side){ 81 return new BoundingBox(center, extent, extent, extent); 84 private float getAdditionCost(BoundingBox bbox, OCTTriangle t){ 94 private void expandBoxToContainTri(BoundingBox bbox, OCTTriangle t){ 97 BoundingBox.checkMinMax(min, max, t.get1()); 98 BoundingBox.checkMinMax(min, max, t.get2()); 99 BoundingBox.checkMinMax(min, max, t.get3()) [all...] |
FastOctnode.java | 35 import com.jme3.bounding.BoundingBox; 47 private static final BoundingBox tempBox = new BoundingBox(); 90 private static void findChildBound(BoundingBox bbox, int side){ 100 public void generateRenderSet(Geometry[] globalGeomList, Set<Geometry> renderSet, Camera cam, BoundingBox parentBox, boolean isRoot){
|
Octree.java | 35 import com.jme3.bounding.BoundingBox; 57 private final BoundingBox bbox; 87 bbox = new BoundingBox(); 130 public BoundingBox getBound(){
|
/external/jmonkeyengine/engine/src/core/com/jme3/shadow/ |
ShadowUtil.java | 34 import com.jme3.bounding.BoundingBox;
173 public static BoundingBox computeUnionBound(GeometryList list, Transform transform) {
174 BoundingBox bbox = new BoundingBox();
192 public static BoundingBox computeUnionBound(GeometryList list, Matrix4f mat) {
193 BoundingBox bbox = new BoundingBox();
211 public static BoundingBox computeUnionBound(List<BoundingVolume> bv) {
212 BoundingBox bbox = new BoundingBox();
[all...] |
PssmShadowUtil.java | 34 import com.jme3.bounding.BoundingBox; 76 BoundingBox bbOcc = ShadowUtil.computeUnionBound(occ, mat); 77 BoundingBox bbRecv = ShadowUtil.computeUnionBound(recv, mat);
|
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/lodcalc/util/ |
EntropyComputeUtil.java | 3 import com.jme3.bounding.BoundingBox; 27 BoundingBox bbox = (BoundingBox) terrainBlock.getBound();
|
/external/jmonkeyengine/engine/src/test/jme3test/bounding/ |
TestRayCollision.java | 35 import com.jme3.bounding.BoundingBox; 47 BoundingBox bbox = new BoundingBox(new Vector3f(5, 0, 0), 1, 1, 1);
|
/external/jmonkeyengine/engine/src/core/com/jme3/bounding/ |
BoundingBox.java | 51 * <code>BoundingBox</code> defines an axis-aligned cube that defines a
60 * @version $Id: BoundingBox.java,v 1.50 2007/09/22 16:46:35 irrisor Exp $
62 public class BoundingBox extends BoundingVolume {
67 * Default constructor instantiates a new <code>BoundingBox</code>
70 public BoundingBox() {
74 * Contstructor instantiates a new <code>BoundingBox</code> object with
77 public BoundingBox(Vector3f c, float x, float y, float z) {
84 public BoundingBox(BoundingBox source) {
91 public BoundingBox(Vector3f min, Vector3f max) { [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/scene/control/ |
AreaUtils.java | 35 import com.jme3.bounding.BoundingBox; 52 * BoundingSphere, BoundingBox, or OrientedBoundingBox 0 is returned. 63 return calcScreenArea((BoundingBox) bound, distance, screenWidth); 78 private static float calcScreenArea(BoundingBox bound, float distance, float screenWidth) {
|
/external/jmonkeyengine/engine/src/test/jme3test/texture/ |
TestTexture3D.java | 8 import com.jme3.bounding.BoundingBox; 41 //getting the boundingbox 43 BoundingBox bb = (BoundingBox) sphere.getBound();
|
/external/webkit/Source/WebKit/win/Interfaces/ |
DOMExtensions.idl | 40 - (NSRect)boundingBox 42 HRESULT boundingBox([out, retval] LPRECT rect);
|
/external/webkit/Source/WebCore/rendering/svg/ |
RenderSVGImage.cpp | 111 FloatRect boundingBox = repaintRectInLocalCoordinates(); 112 if (!SVGRenderSupport::paintInfoIntersectsRepaintRect(boundingBox, m_localTransform, paintInfo)) 140 paintOutline(childPaintInfo.context, static_cast<int>(boundingBox.x()), static_cast<int>(boundingBox.y()), 141 static_cast<int>(boundingBox.width()), static_cast<int>(boundingBox.height()));
|
RenderSVGPath.cpp | 208 FloatRect boundingBox = repaintRectInLocalCoordinates(); 209 if (!SVGRenderSupport::paintInfoIntersectsRepaintRect(boundingBox, m_localTransform, paintInfo)) 236 paintOutline(childPaintInfo.context, static_cast<int>(boundingBox.x()), static_cast<int>(boundingBox.y()), 237 static_cast<int>(boundingBox.width()), static_cast<int>(boundingBox.height()));
|
/external/webkit/Source/WebCore/inspector/ |
DOMNodeHighlighter.cpp | 125 void drawElementTitle(GraphicsContext& context, Node* node, const IntRect& boundingBox, const IntRect& anchorBox, const FloatRect& overlayRect, WebCore::Settings* settings) 159 nodeTitle += String::number(boundingBox.width()); 161 nodeTitle += String::number(boundingBox.height()); 224 IntRect boundingBox = renderer->absoluteBoundingBoxRect(true); 226 boundingBox.move(mainFrameOffset); 228 IntRect titleAnchorBox = boundingBox; 232 if (!overlayRect.contains(boundingBox) && !boundingBox.contains(enclosingIntRect(overlayRect))) 288 drawElementTitle(context, node, boundingBox, titleAnchorBox, overlayRect, settings);
|
/external/webkit/Source/WebKit/mac/WebView/ |
WebRenderNode.mm | 123 IntRect boundingBox = inlineFlow->borderBoundingBox(); 124 x = boundingBox.x(); 125 y = boundingBox.y(); 126 width = boundingBox.width(); 127 height = boundingBox.height();
|
/frameworks/base/core/java/android/gesture/ |
GestureStroke.java | 36 public final RectF boundingBox; 81 boundingBox = bx; 89 boundingBox = new RectF(bbx.left, bbx.top, bbx.right, bbx.bottom); 97 return new GestureStroke(boundingBox, length, points, timestamps); 163 final RectF rect = boundingBox;
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/ |
UVCoordinatesGenerator.java | 34 import com.jme3.bounding.BoundingBox; 105 BoundingBox bb = UVCoordinatesGenerator.getBoundingBox(geometries); 202 /* package */static BoundingBox getBoundingBox(List<Geometry> geometries) { 203 BoundingBox result = null; 205 BoundingBox bb = UVCoordinatesGenerator.getBoundingBox(geometry.getMesh()); 221 /* package */static BoundingBox getBoundingBox(Mesh mesh) { 224 if (bv instanceof BoundingBox) { 225 return (BoundingBox) bv; 229 return new BoundingBox(bs.getCenter(), r, r, r); 263 if (bv instanceof BoundingBox) { [all...] |
/external/webkit/Source/WebCore/platform/graphics/ |
FloatQuad.h | 75 bool isEmpty() const { return boundingBox().isEmpty(); } 80 // corresponding FloatRect can be retrieved with boundingBox(). 91 FloatRect boundingBox() const; 94 return enclosingIntRect(boundingBox());
|
/external/webkit/Source/WebCore/platform/graphics/win/ |
SimpleFontDataCGWin.cpp | 134 FloatRect boundingBox = CGRectApplyAffineTransform(box, CGAffineTransformMakeScale(scale, -scale)); 136 boundingBox.setWidth(boundingBox.width() + m_syntheticBoldOffset); 138 return boundingBox;
|
/external/jmonkeyengine/engine/src/test/jme3test/bullet/ |
TestFancyCar.java | 35 import com.jme3.bounding.BoundingBox; 164 BoundingBox box = (BoundingBox) chasis.getModelBound(); 186 box = (BoundingBox) wheel_fr.getModelBound(); 195 box = (BoundingBox) wheel_fl.getModelBound(); 201 box = (BoundingBox) wheel_br.getModelBound(); 207 box = (BoundingBox) wheel_bl.getModelBound();
|
/external/webkit/Source/WebCore/platform/graphics/gpu/ |
LoopBlinnPathProcessor.cpp | 237 const FloatRect& boundingBox() const { return m_boundingBox; } 318 builder.append(" boundingBox="); 319 builder.append(valueToString(boundingBox())); 436 const FloatRect& boundingBox() 442 m_boundingBox = cur->boundingBox(); 444 m_boundingBox.unite(cur->boundingBox()); 719 const FloatRect& boundingBox = seg->boundingBox(); 720 if (boundingBox.y() <= y && y <= boundingBox.maxY() [all...] |
/external/webkit/Source/WebCore/editing/ |
SpellingCorrectionController.cpp | 156 FloatRect boundingBox = windowRectForRange(rangeToReplace.get()); 157 if (boundingBox.isEmpty()) 163 client()->showCorrectionPanel(m_correctionPanelInfo.panelType, boundingBox, m_correctionPanelInfo.replacedString, replacement, Vector<String>()); 297 FloatRect boundingBox = windowRectForRange(m_correctionPanelInfo.rangeToBeReplaced.get()); 298 if (!boundingBox.isEmpty()) 299 client()->showCorrectionPanel(m_correctionPanelInfo.panelType, boundingBox, m_correctionPanelInfo.replacedString, m_correctionPanelInfo.replacementString, Vector<String>()); 315 FloatRect boundingBox = windowRectForRange(m_correctionPanelInfo.rangeToBeReplaced.get()); 316 if (!boundingBox.isEmpty()) 317 client()->showCorrectionPanel(m_correctionPanelInfo.panelType, boundingBox, m_correctionPanelInfo.replacedString, topSuggestion, suggestions);
|
/cts/tests/tests/gesture/src/android/gesture/cts/ |
GestureStrokeTest.java | 119 * Verifies that {@link android.gesture.GestureStroke#boundingBox} has expected values for 124 mHelper.assertLineBoundingBox(line.boundingBox);
|
/external/jmonkeyengine/engine/src/core/com/jme3/scene/debug/ |
WireBox.java | 35 import com.jme3.bounding.BoundingBox; 104 public void fromBoundingBox(BoundingBox bbox){
|