HomeSort by relevance Sort by last modified time
    Searched full:bbox (Results 1 - 25 of 64) sorted by null

1 2 3

  /external/freetype/src/base/
ftbbox.c 5 /* FreeType bbox computation (body). */
38 FT_BBox bbox; member in struct:TBBox_Rec_
52 /* use the cbox as the starting bbox which must be refined. */
73 #define CHECK_X( p, bbox ) \
74 ( p->x < bbox.xMin || p->x > bbox.xMax )
76 #define CHECK_Y( p, bbox ) \
77 ( p->y < bbox.yMin || p->y > bbox.yMax )
168 /* within the bbox */
578 FT_BBox bbox; local
    [all...]
ftglyph.c 233 FT_BBox* bbox )
238 FT_Outline_Get_CBox( &glyph->outline, bbox );
474 /* retrieve bbox in 26.6 coordinates */
  /external/jmonkeyengine/engine/src/tools/jme3tools/optimize/
Octnode.java 64 final BoundingBox bbox; field in class:Octnode
71 public Octnode(BoundingBox bbox, ArrayList<OCTTriangle> tris){
72 this.bbox = bbox;
77 float extent = bbox.getXExtent() * 0.5f;
78 Vector3f center = new Vector3f(bbox.getCenter().x + extent * extentMult[side].x,
79 bbox.getCenter().y + extent * extentMult[side].y,
80 bbox.getCenter().z + extent * extentMult[side].z);
84 private float getAdditionCost(BoundingBox bbox, OCTTriangle t){
85 if (bbox.intersects(t.get1(), t.get2(), t.get3()))
    [all...]
Octree.java 57 private final BoundingBox bbox; field in class:Octree
87 bbox = new BoundingBox();
90 bbox.mergeLocal(bv);
94 float extent = Math.max(bbox.getXExtent(), Math.max(bbox.getYExtent(), bbox.getZExtent()));
95 bbox.setXExtent(extent);
96 bbox.setYExtent(extent);
97 bbox.setZExtent(extent);
121 root = new Octnode(bbox, allTris)
    [all...]
FastOctnode.java 90 private static void findChildBound(BoundingBox bbox, int side){
91 float extent = bbox.getXExtent() * 0.5f;
92 bbox.getCenter().set(bbox.getCenter().x + extent * Octnode.extentMult[side].x,
93 bbox.getCenter().y + extent * Octnode.extentMult[side].y,
94 bbox.getCenter().z + extent * Octnode.extentMult[side].z);
95 bbox.setXExtent(extent);
96 bbox.setYExtent(extent);
97 bbox.setZExtent(extent);
  /external/freetype/include/freetype/
ftbbox.h 5 /* FreeType exact bbox computation (specification). */
78 /* @FT_LOAD_NO_SCALE, the resulting BBox is meaningless. To get */
79 /* reasonable values for the BBox it is necessary to load the glyph */
81 /* properly shift and scale the subglyphs), then extracting the BBox */
ftglyph.h 399 /* width = bbox.xMax - bbox.xMin; */
400 /* height = bbox.yMax - bbox.yMin; */
408 /* bbox.xMin = FLOOR(bbox.xMin); */
409 /* bbox.yMin = FLOOR(bbox.yMin); */
410 /* bbox.xMax = CEILING(bbox.xMax); *
    [all...]
  /external/freetype/src/autofit/
afloader.c 390 FT_BBox bbox; local
411 FT_Outline_Get_CBox( &gloader->base.outline, &bbox );
413 bbox.xMin = FT_PIX_FLOOR( bbox.xMin );
414 bbox.yMin = FT_PIX_FLOOR( bbox.yMin );
415 bbox.xMax = FT_PIX_CEIL( bbox.xMax );
416 bbox.yMax = FT_PIX_CEIL( bbox.yMax )
    [all...]
  /external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/lodcalc/util/
EntropyComputeUtil.java 27 BoundingBox bbox = (BoundingBox) terrainBlock.getBound(); local
55 pos.addLocal(0, bbox.getYExtent(), 0);
59 terrainBlock.collideWith(ray, Matrix4f.IDENTITY, bbox, results);
  /external/jmonkeyengine/engine/src/test/jme3test/bounding/
TestRayCollision.java 47 BoundingBox bbox = new BoundingBox(new Vector3f(5, 0, 0), 1, 1, 1); local
50 bbox.collideWith(r, res);
52 System.out.println("Bounding:" +bbox);
  /external/jmonkeyengine/engine/src/core/com/jme3/collision/bih/
BIHTree.java 158 BoundingBox bbox = new BoundingBox(min, max); local
160 return bbox;
193 private void setMinMax(BoundingBox bbox, boolean doMin, int axis, float value) {
194 Vector3f min = bbox.getMin(null);
195 Vector3f max = bbox.getMax(null);
203 bbox.setMinMax(min, max);
206 private float getMinMax(BoundingBox bbox, boolean doMin, int axis) {
208 return bbox.getMin(null).get(axis);
210 return bbox.getMax(null).get(axis);
327 //If one of the partitions is empty, continue with recursion: same level but different bbox
433 BoundingBox bbox; local
445 bbox.transform(worldMatrix.invert(), bbox); local
    [all...]
  /external/jmonkeyengine/engine/src/core/com/jme3/scene/debug/
WireBox.java 104 public void fromBoundingBox(BoundingBox bbox){
105 updatePositions(bbox.getXExtent(), bbox.getYExtent(), bbox.getZExtent());
  /external/skia/src/ports/
SkFontHost_FreeType.cpp 181 void getBBoxForCurrentGlyph(SkGlyph* glyph, FT_BBox* bbox,
367 static bool GetLetterCBox(FT_Face face, char letter, FT_BBox* bbox) {
372 FT_Outline_Get_CBox(&face->glyph->outline, bbox);
513 FT_BBox bbox;
514 if (GetLetterCBox(face, stem_chars[i], &bbox)) {
515 int16_t width = bbox.xMax - bbox.xMin;
551 info->fBBox = SkIRect::MakeLTRB(face->bbox.xMin, face->bbox.yMax,
552 face->bbox.xMax, face->bbox.yMin)
1061 FT_BBox bbox; local
1167 FT_BBox bbox; local
1388 FT_BBox bbox; local
1665 FT_BBox bbox; local
    [all...]
  /external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/
TerrainPatch.java 813 BoundingBox bbox = new BoundingBox(boundingVolume.getCenter().clone(), sphere.getRadius(), local
    [all...]
  /external/jmonkeyengine/engine/src/tools/jme3tools/converters/model/
FloatToFixed.java 59 BoundingBox bbox = (BoundingBox) geom.getModelBound(); local
72 Transform t = convertPositions(fb, bbox, newBuf);
284 private static Transform convertPositions(FloatBuffer input, BoundingBox bbox, Buffer output){
288 Vector3f offset = bbox.getCenter().negate();
289 Vector3f size = new Vector3f(bbox.getXExtent(), bbox.getYExtent(), bbox.getZExtent());
  /external/jmonkeyengine/engine/src/core/com/jme3/shadow/
ShadowUtil.java 174 BoundingBox bbox = new BoundingBox(); local
180 bbox.mergeLocal(newVol);
183 return bbox;
193 BoundingBox bbox = new BoundingBox(); local
200 bbox.mergeLocal(store);
203 return bbox;
212 BoundingBox bbox = new BoundingBox(); local
215 bbox.mergeLocal(vol);
217 return bbox;
  /external/skia/src/pdf/
SkPDFShader.cpp 24 static void transformBBox(const SkMatrix& matrix, SkRect* bbox) {
28 inverse.mapRect(bbox);
297 const SkIRect& bbox);
465 // info->fPoints to the matrix (updating bbox appropriately). Now
472 SkRect bbox; local
473 bbox.set(fState.get()->fBBox);
474 transformBBox(finalMatrix, &bbox);
479 domain->appendScalar(bbox.fLeft);
480 domain->appendScalar(bbox.fRight);
481 domain->appendScalar(bbox.fTop)
    [all...]
SkPDFFormXObject.cpp 31 insert("BBox", device->getMediaBox().get());
  /external/freetype/src/cff/
cffgload.h 65 /* bbox :: Unused. */
96 FT_BBox bbox; /* bounding box */ member in struct:CFF_Builder_
cffparse.c 521 FT_BBox* bbox = &dict->font_bbox; local
530 bbox->xMin = FT_RoundFix( cff_parse_fixed( data++ ) );
531 bbox->yMin = FT_RoundFix( cff_parse_fixed( data++ ) );
532 bbox->xMax = FT_RoundFix( cff_parse_fixed( data++ ) );
533 bbox->yMax = FT_RoundFix( cff_parse_fixed( data ) );
537 bbox->xMin / 65536,
538 bbox->yMin / 65536,
539 bbox->xMax / 65536,
540 bbox->yMax / 65536 ));
cffobjs.c 751 /* set global bbox, as well as EM size */
752 cffface->bbox.xMin = dict->font_bbox.xMin >> 16;
753 cffface->bbox.yMin = dict->font_bbox.yMin >> 16;
755 cffface->bbox.xMax = ( dict->font_bbox.xMax + 0xFFFF ) >> 16;
756 cffface->bbox.yMax = ( dict->font_bbox.yMax + 0xFFFF ) >> 16;
760 cffface->ascender = (FT_Short)( cffface->bbox.yMax );
761 cffface->descender = (FT_Short)( cffface->bbox.yMin );
    [all...]
  /external/freetype/src/truetype/
ttgload.c 315 loader->bbox.xMin = FT_NEXT_SHORT( p );
316 loader->bbox.yMin = FT_NEXT_SHORT( p );
317 loader->bbox.xMax = FT_NEXT_SHORT( p );
318 loader->bbox.yMax = FT_NEXT_SHORT( p );
321 FT_TRACE5(( " xMin: %4d xMax: %4d\n", loader->bbox.xMin,
322 loader->bbox.xMax ));
323 FT_TRACE5(( " yMin: %4d yMax: %4d\n", loader->bbox.yMin,
324 loader->bbox.yMax ));
1621 FT_BBox bbox; local
    [all...]
  /external/jmonkeyengine/engine/src/core/com/jme3/bounding/
Intersection.java 81 public static boolean intersect(BoundingBox bbox, Vector3f v1, Vector3f v2, Vector3f v3) {
101 Vector3f center = bbox.getCenter();
102 Vector3f extent = bbox.getExtent(null);
273 if (bbox.whichSide(p) == Plane.Side.Negative) {
  /external/webkit/Source/WebCore/svg/
svgattrs.in 21 bbox
  /external/freetype/src/pfr/
pfrload.c 743 phy_font->bbox.xMin = PFR_NEXT_SHORT( p );
744 phy_font->bbox.yMin = PFR_NEXT_SHORT( p );
745 phy_font->bbox.xMax = PFR_NEXT_SHORT( p );
746 phy_font->bbox.yMax = PFR_NEXT_SHORT( p );

Completed in 1521 milliseconds

1 2 3