Home
last modified time | relevance | path

Searched refs:center (Results 1 – 25 of 383) sorted by relevance

12345678910>>...16

/external/jmonkeyengine/engine/src/core/com/jme3/scene/shape/
DAbstractBox.java58 public final Vector3f center = new Vector3f(0f, 0f, 0f); field in AbstractBox
78 center.subtract(axes[0]).subtractLocal(axes[1]).subtractLocal(axes[2]), in computeVertices()
79 center.add(axes[0]).subtractLocal(axes[1]).subtractLocal(axes[2]), in computeVertices()
80 center.add(axes[0]).addLocal(axes[1]).subtractLocal(axes[2]), in computeVertices()
81 center.subtract(axes[0]).addLocal(axes[1]).subtractLocal(axes[2]), in computeVertices()
82 center.add(axes[0]).subtractLocal(axes[1]).addLocal(axes[2]), in computeVertices()
83 center.subtract(axes[0]).subtractLocal(axes[1]).addLocal(axes[2]), in computeVertices()
84 center.add(axes[0]).addLocal(axes[1]).addLocal(axes[2]), in computeVertices()
85 center.subtract(axes[0]).addLocal(axes[1]).addLocal(axes[2]) in computeVertices()
118 return center; in getCenter()
[all …]
DDome.java63 private Vector3f center; field in Dome
106 public Dome(Vector3f center, int planes, int radialSamples, in Dome() argument
109 updateGeometry(center, planes, radialSamples, radius, true); in Dome()
133 public Dome(Vector3f center, int planes, int radialSamples, in Dome() argument
136 updateGeometry(center, planes, radialSamples, radius, insideView); in Dome()
140 return center; in getCenter()
180 public void updateGeometry(Vector3f center, int planes, in updateGeometry() argument
183 this.center = center != null ? center : new Vector3f(0, 0, 0); in updateGeometry()
233 Vector3f kSliceCenter = tempVb.set(center); in updateGeometry()
251 kNormal = tempVa.subtractLocal(center); in updateGeometry()
[all …]
/external/jmonkeyengine/engine/src/core/com/jme3/bounding/
DBoundingSphere.java83 this.center.set(c); in BoundingSphere()
184 if (center == null) { in calcWelzl()
185 center = new Vector3f(); in calcWelzl()
220 this.center.set(0, 0, 0); in recurseMini()
224 BufferUtils.populateFromBuffer(center, points, ap - 1); in recurseMini()
248 if (tempA.distanceSquared(center) - (radius * radius) > RADIUS_EPSILON - 1f) { in recurseMini()
283 center.set(0, 0, 0); in setSphere()
292 O.add(o, center); in setSphere()
316 center.set(0, 0, 0); in setSphere()
322 O.add(o, center); in setSphere()
[all …]
DBoundingBox.java78 this.center.set(c); in BoundingBox()
85 this.center.set(source.center); in BoundingBox()
138 center.set(min.addLocal(max)); in computeFromTris()
139 center.multLocal(0.5f); in computeFromTris()
141 xExtent = max.x - center.x; in computeFromTris()
142 yExtent = max.y - center.y; in computeFromTris()
143 zExtent = max.z - center.z; in computeFromTris()
173 center.set(min.addLocal(max)); in computeFromTris()
174 center.multLocal(0.5f); in computeFromTris()
176 xExtent = max.x - center.x; in computeFromTris()
[all …]
DBoundingVolume.java78 protected Vector3f center = new Vector3f(); field in BoundingVolume
83 public BoundingVolume(Vector3f center) { in BoundingVolume() argument
84 this.center.set(center); in BoundingVolume()
192 return center; in getCenter()
196 store.set(center); in getCenter()
201 center.set(newCenter); in setCenter()
213 return center.distance(point); in distanceTo()
225 return center.distanceSquared(point); in distanceSquaredTo()
313 clone.center = center.clone(); in clone()
321 e.getCapsule(this).write(center, "center", Vector3f.ZERO); in write()
[all …]
/external/jmonkeyengine/engine/src/core/com/jme3/effect/shapes/
DEmitterSphereShape.java44 private Vector3f center; field in EmitterSphereShape
50 public EmitterSphereShape(Vector3f center, float radius) { in EmitterSphereShape() argument
51 if (center == null) { in EmitterSphereShape()
59 this.center = center; in EmitterSphereShape()
67 clone.center = center.clone(); in deepClone()
80 } while (store.distance(center) > radius); in getRandomPoint()
89 return center; in getCenter()
92 public void setCenter(Vector3f center) { in setCenter() argument
93 this.center = center; in setCenter()
107 oc.write(center, "center", null); in write()
[all …]
/external/jmonkeyengine/engine/src/core/com/jme3/math/
DRing.java52 private Vector3f center, up; field in Ring
62 center = new Vector3f(); in Ring()
81 public Ring(Vector3f center, Vector3f up, float innerRadius, in Ring() argument
83 this.center = center; in Ring()
95 return center; in getCenter()
104 public void setCenter(Vector3f center) { in setCenter() argument
105 this.center = center; in setCenter()
199 result.set(b1).multLocal(r * FastMath.cos(theta)).addLocal(center); in random()
206 capsule.write(center, "center", Vector3f.ZERO); in write()
214 center = (Vector3f) capsule.readSavable("center", in read()
[all …]
DTriangle.java54 private transient Vector3f center; field in Triangle
173 if (center == null) { in calculateCenter()
174 center = new Vector3f(pointa); in calculateCenter()
176 center.set(pointa); in calculateCenter()
178 center.addLocal(pointb).addLocal(pointc).multLocal(FastMath.ONE_THIRD); in calculateCenter()
200 if (center == null) { in getCenter()
203 return center; in getCenter()
210 public void setCenter(Vector3f center) { in setCenter() argument
211 this.center = center; in setCenter()
/external/skia/src/animator/
DSkDrawMatrix.h45 void rotate(SkScalar degrees, SkPoint& center) { in rotate() argument
46 fMatrix.preRotate(degrees, center.fX, center.fY); in rotate()
53 void scale(SkScalar scaleX, SkScalar scaleY, SkPoint& center) { in scale() argument
54 fMatrix.preScale(scaleX, scaleY, center.fX, center.fY); in scale()
57 void skew(SkScalar skewX, SkScalar skewY, SkPoint& center) { in skew() argument
58 fMatrix.preSkew(skewX, skewY, center.fX, center.fY); in skew()
DSkMatrixParts.cpp39 SK_MEMBER(center, Point),
48 center.fX = center.fY = 0; in SkRotate()
52 fMatrix->rotate(degrees, center); in add()
60 SK_MEMBER(center, Point),
70 center.fX = center.fY = 0; in SkScale()
74 fMatrix->scale(x, y, center); in add()
82 SK_MEMBER(center, Point),
92 center.fX = center.fY = 0; in SkSkew()
96 fMatrix->skew(x, y, center); in add()
/external/skia/src/svg/
DSkSVGRadialGradient.cpp32 SkString center; in DEFINE_SVG_INFO() local
33 center.appendUnichar('['); in DEFINE_SVG_INFO()
34 center.append(f_cx); in DEFINE_SVG_INFO()
35 center.appendUnichar(','); in DEFINE_SVG_INFO()
36 center.append(f_cy); in DEFINE_SVG_INFO()
37 center.appendUnichar(']'); in DEFINE_SVG_INFO()
38 parser._addAttribute("center", center); in DEFINE_SVG_INFO()
/external/aac/libAACenc/src/
Dchaosmeasure.cpp110 FIXP_DBL left,center; /* left, center tap of filter */ in FDKaacEnc_FDKaacEnc_CalculateChaosMeasurePeakFast() local
113 center = (FIXP_DBL)((LONG)paMDCTDataNM0[i+2]^((LONG)paMDCTDataNM0[i+2]>>(DFRACT_BITS-1))); in FDKaacEnc_FDKaacEnc_CalculateChaosMeasurePeakFast()
119 if (tmp < center ) { in FDKaacEnc_FDKaacEnc_CalculateChaosMeasurePeakFast()
120 INT leadingBits = CntLeadingZeros(center)-1; in FDKaacEnc_FDKaacEnc_CalculateChaosMeasurePeakFast()
121 tmp = schur_div(tmp<<leadingBits, center<<leadingBits, 8); in FDKaacEnc_FDKaacEnc_CalculateChaosMeasurePeakFast()
128 left = center; in FDKaacEnc_FDKaacEnc_CalculateChaosMeasurePeakFast()
129 center = right; in FDKaacEnc_FDKaacEnc_CalculateChaosMeasurePeakFast()
/external/libvorbis/doc/
DVorbis_I_spec.css32 center { margin-top:1em; margin-bottom:1em; } selector
33 td center { margin-top:0em; margin-bottom:0em; }
49 td.displaylines {text-align:center; white-space:nowrap;}
50 .centerline {text-align:center;}
55 div.center div.fbox {text-align:center; clear:both; padding-left:3.0pt; padding-right:3.0pt; text-i…
57 div.center, div.center div.center {text-align: center; margin-left:1em; margin-right:1em;}
58 div.center div {text-align: left;}
65 .framebox-c {text-align:center;}
70 div.tabular, div.center div.tabular {text-align: center; margin-top:0.5em; margin-bottom:0.5em; }
93 div.float img {text-align:center;}
[all …]
/external/eigen/unsupported/test/
DBVH.cpp30 Ball(const VectorType &c, double r) : center(c), radius(r) {} in Ball()
32 VectorType center; member
36 { return AlignedBox<double, Dim>(b.center.array() - b.radius, b.center.array() + b.radius); } in bounding_box()
55 if((b.center - p).squaredNorm() < SQR(b.radius)) in intersectObject()
61 …ype &r, const BallType &b) { ++calls; return r.squaredExteriorDistance(b.center) < SQR(b.radius); } in intersectVolumeObject()
62 …Type &b, const BoxType &r) { ++calls; return r.squaredExteriorDistance(b.center) < SQR(b.radius); } in intersectObjectVolume()
65 if((b1.center - b2.center).norm() < b1.radius + b2.radius) in intersectObjectObject()
72 if((b.center - v).squaredNorm() < SQR(b.radius)) in intersectObjectObject()
78 …double minimumOnObject(const BallType &b) { ++calls; return (std::max)(0., (b.center - p).squaredN… in minimumOnObject()
80 …onst BallType &b) { ++calls; return SQR((std::max)(0., r.exteriorDistance(b.center) - b.radius)); } in minimumOnVolumeObject()
[all …]
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/
DUVCoordinatesGenerator.java282 Vector3f center = new Vector3f(); in getBoundingTube() local
293 center.addLocal(x, y, z); in getBoundingTube()
301 center.divideLocal(limit / 3); in getBoundingTube()
304 return new BoundingTube(radius, maxz - minz, center); in getBoundingTube()
335 private Vector3f center;
346 public BoundingTube(float radius, float height, Vector3f center) {
349 this.center = center;
371 … float minZ = Math.min(tube1.center.z - tube1.height * 0.5f, tube2.center.z - tube2.height * 0.5f);
372 … float maxZ = Math.max(tube1.center.z + tube1.height * 0.5f, tube2.center.z + tube2.height * 0.5f);
374 Vector3f distance = tube2.center.subtract(tube1.center);
[all …]
/external/skia/gm/
Dgradients.cpp44 SkPoint center; in MakeRadial() local
45 center.set(SkScalarAve(pts[0].fX, pts[1].fX), in MakeRadial()
47 return SkGradientShader::CreateRadial(center, center.fX, data.fColors, in MakeRadial()
53 SkPoint center; in MakeSweep() local
54 center.set(SkScalarAve(pts[0].fX, pts[1].fX), in MakeSweep()
56 return SkGradientShader::CreateSweep(center.fX, center.fY, data.fColors, in MakeSweep()
200 SkPoint center; in onDraw() local
201 center.iset(0, 300); in onDraw()
204 SkPoint(center), in onDraw()
236 SkPoint center; in onDraw() local
[all …]
/external/chromium/chrome/browser/resources/
Dwrench_menu.css3 background-position: center center;
14 text-align: center;
30 .center-button {
36 text-align: center;
42 text-align: center;
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/
DBarGraph.java112 int center= MARGIN + w / 2; in paint() local
154 gc.drawLine(center, y, center, yy + TGAP); in paint()
162 gc.drawLine(center - x, y, center - x, yy + TGAP); in paint()
163 gc.drawLine(center + x, y, center + x, yy + TGAP); in paint()
169 gc.drawString(s3, center - x - es3.x / 2, yy + TGAP, true); in paint()
173 gc.drawString(s4, center + x - es4.x / 2, yy + TGAP, true); in paint()
223 gc.fillRectangle(center, y + (GAP / 2), barLength, BARHEIGHT); in paint()
224 gc.drawRectangle(center, y + (GAP / 2), barLength, BARHEIGHT); in paint()
226 gc.fillRectangle(center+barLength, y + (GAP / 2), -barLength, BARHEIGHT); in paint()
227 gc.drawRectangle(center+barLength, y + (GAP / 2), -barLength, BARHEIGHT); in paint()
[all …]
/external/skia/samplecode/
DSampleGradients.cpp75 SkPoint center; in MakeRadial() local
76 center.set(SkScalarAve(pts[0].fX, pts[1].fX), in MakeRadial()
78 return SkGradientShader::CreateRadial(center, center.fX, data.fColors, in MakeRadial()
84 SkPoint center; in MakeSweep() local
85 center.set(SkScalarAve(pts[0].fX, pts[1].fX), in MakeSweep()
87 return SkGradientShader::CreateSweep(center.fX, center.fY, data.fColors, in MakeSweep()
106 SkPoint center; in Make2RadialConcentric() local
107 center.set(SkScalarAve(pts[0].fX, pts[1].fX), in Make2RadialConcentric()
110 center, (pts[1].fX - pts[0].fX) / 7, in Make2RadialConcentric()
111 center, (pts[1].fX - pts[0].fX) / 2, in Make2RadialConcentric()
DSampleNinePatch.cpp13 static void make_bitmap(SkBitmap* bitmap, GrContext* ctx, SkIRect* center) { in make_bitmap() argument
37 center->setXYWH(kFixed, kFixed, kStretchy, kStretchy); in make_bitmap()
69 SkIRect center; in onDrawContent() local
70 make_bitmap(&bm, SampleCode::GetGr(), &center); in onDrawContent()
73 const SkScalar fixed = SkIntToScalar(bm.width() - center.width()); in onDrawContent()
95 canvas->drawBitmapNine(bm, center, r, &paint); in onDrawContent()
/external/replicaisland/src/com/replica/replicaisland/
DSphereCollisionVolume.java67 public void setCenter(Vector2 center) { in setCenter() argument
68 mCenter.set(center); in setCenter()
159 private static void offsetByCenter(Vector2 position, Vector2 center, FlipInfo flip) { in offsetByCenter() argument
162 position.x += flip.parentWidth - center.x; in offsetByCenter()
164 position.x += center.x; in offsetByCenter()
168 position.y += flip.parentHeight - center.y; in offsetByCenter()
170 position.y += center.y; in offsetByCenter()
173 position.add(center); in offsetByCenter()
/external/webkit/Tools/CodeCoverage/
Dgcov.css5 text-align: center;
9 text-align:center;
35 text-align:center;
60 text-align:center;
77 text-align:center;
92 text-align:center;
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/materials/
DMaterialHelper.java120 private float[] center; in MaterialHelper()
125 center = new float[] { width * 0.5f, height * 0.5f }; in MaterialHelper()
130 …float d = FastMath.abs(FastMath.sqrt((x - center[0]) * (x - center[0]) + (y - center[1]) * (y - ce… in MaterialHelper()
136 private float[] center; in MaterialHelper()
141 center = new float[] { width * 0.5f, height * 0.5f }; in MaterialHelper()
146 …float d = FastMath.abs(FastMath.sqrt((x - center[0]) * (x - center[0]) + (y - center[1]) * (y - ce… in MaterialHelper()
152 private float[] center; in MaterialHelper()
157 center = new float[] { width * 0.5f, height * 0.5f }; in MaterialHelper()
162 …float d = FastMath.abs(FastMath.sqrt((x - center[0]) * (x - center[0]) + (y - center[1]) * (y - ce… in MaterialHelper()
/external/llvm/test/YAMLParser/
Dconstruct-merge.data15 label: center/big
20 label: center/big
24 label: center/big
29 label: center/big
/external/proguard/docs/manual/
Dstyle.css10 text-align: center;
59 text-align: center;
65 text-align: center;
73 text-align: center;
81 text-align: center;

12345678910>>...16