Searched refs:center (Results 1 - 25 of 327) sorted by relevance

1234567891011>>

/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/clustering/
H A DCluster.java39 private final T center; field in class:Cluster
43 * @param center the point which is to be the center of this cluster
45 public Cluster(final T center) { argument
46 this.center = center;
67 * Get the point chosen to be the center of this cluster.
68 * @return chosen cluster center
71 return center;
/external/skia/src/svg/parser/
H A DSkSVGRadialGradient.cpp32 SkString center; local
33 center.appendUnichar('[');
34 center.append(f_cx);
35 center.appendUnichar(',');
36 center.append(f_cy);
37 center.appendUnichar(']');
38 parser._addAttribute("center", center);
/external/jmonkeyengine/engine/src/core/com/jme3/effect/shapes/
H A DEmitterSphereShape.java44 private Vector3f center; field in class:EmitterSphereShape
50 public EmitterSphereShape(Vector3f center, float radius) { argument
51 if (center == null) {
59 this.center = center;
67 clone.center = center.clone();
80 } while (store.distance(center) > radius);
89 return center;
92 public void setCenter(Vector3f center) { argument
[all...]
/external/jmonkeyengine/engine/src/core/com/jme3/scene/shape/
H A DAbstractBox.java58 public final Vector3f center = new Vector3f(0f, 0f, 0f); field in class:AbstractBox
78 center.subtract(axes[0]).subtractLocal(axes[1]).subtractLocal(axes[2]),
79 center.add(axes[0]).subtractLocal(axes[1]).subtractLocal(axes[2]),
80 center.add(axes[0]).addLocal(axes[1]).subtractLocal(axes[2]),
81 center.subtract(axes[0]).addLocal(axes[1]).subtractLocal(axes[2]),
82 center.add(axes[0]).subtractLocal(axes[1]).addLocal(axes[2]),
83 center.subtract(axes[0]).subtractLocal(axes[1]).addLocal(axes[2]),
84 center.add(axes[0]).addLocal(axes[1]).addLocal(axes[2]),
85 center.subtract(axes[0]).addLocal(axes[1]).addLocal(axes[2])
115 * Get the center poin
166 updateGeometry(Vector3f center, float x, float y, float z) argument
[all...]
H A DDome.java62 /** The center of the dome */
63 private Vector3f center; field in class:Dome
95 * @param center
106 public Dome(Vector3f center, int planes, int radialSamples, argument
109 updateGeometry(center, planes, radialSamples, radius, true);
119 * @param center
133 public Dome(Vector3f center, int planes, int radialSamples, argument
136 updateGeometry(center, planes, radialSamples, radius, insideView);
140 return center;
174 * @param center th
180 updateGeometry(Vector3f center, int planes, int radialSamples, float radius, boolean insideView) argument
[all...]
/external/jmonkeyengine/engine/src/core/com/jme3/math/
H A DRing.java41 * space that is specified via the ring's center point, an up vector, an inner
52 private Vector3f center, up; field in class:Ring
62 center = new Vector3f();
69 * Constructor creates a new <code>Ring</code> with defined center point,
72 * @param center
73 * the center of the ring.
81 public Ring(Vector3f center, Vector3f up, float innerRadius, argument
83 this.center = center;
90 * <code>getCenter</code> returns the center o
104 setCenter(Vector3f center) argument
[all...]
/external/jmonkeyengine/engine/src/core/com/jme3/bounding/
H A DBoundingVolume.java78 protected Vector3f center = new Vector3f(); field in class:BoundingVolume
83 public BoundingVolume(Vector3f center) { argument
84 this.center.set(center);
192 return center;
196 store.set(center);
201 center.set(newCenter);
205 * Find the distance from the center of this Bounding Volume to the given
213 return center.distance(point);
217 * Find the squared distance from the center o
[all...]
H A DBoundingSphere.java51 * radius and a center. <br>
53 * A typical usage is to allow the class define the center and radius by calling
80 * the center of the sphere.
83 this.center.set(c);
184 if (center == null) {
185 center = new Vector3f();
220 this.center.set(0, 0, 0);
224 BufferUtils.populateFromBuffer(center, points, ap - 1);
248 if (tempA.distanceSquared(center) - (radius * radius) > RADIUS_EPSILON - 1f) {
283 center
[all...]
H A DBoundingBox.java53 * defines a center and extents from that center along the x, y and z axis. <br>
55 * A typical usage is to allow the class define the center and radius by calling
78 this.center.set(c);
85 this.center.set(source.center);
138 center.set(min.addLocal(max));
139 center.multLocal(0.5f);
141 xExtent = max.x - center.x;
142 yExtent = max.y - center
[all...]
/external/aac/libAACenc/src/
H A Dchaosmeasure.cpp110 FIXP_DBL left,center; /* left, center tap of filter */ local
113 center = (FIXP_DBL)((LONG)paMDCTDataNM0[i+2]^((LONG)paMDCTDataNM0[i+2]>>(DFRACT_BITS-1)));
119 if (tmp < center ) {
120 INT leadingBits = CntLeadingZeros(center)-1;
121 tmp = schur_div(tmp<<leadingBits, center<<leadingBits, 8);
128 left = center;
129 center = right;
/external/autotest/client/site_tests/firmware_TouchMTB/geometry/
H A Delements.py75 def __init__(self, center, radius):
78 @param center: the center point of the circle
81 self.center = center
86 return self.center is not None and self.radius is not None
93 return self.center.distance(p) <= self.radius + TOLERANCE
100 return self.center == c.center and about_eq(self.radius, c.radius)
109 return hash((self.center, sel
[all...]
H A Dminicircle.py32 center = Point((p1.x + p2.x) * 0.5, (p1.y + p2.y) * 0.5)
33 radius = center.distance(p1)
34 return Circle(center, radius)
68 center = Point(x, y)
69 radius = center.distance(A)
70 return Circle(center, radius)
/external/skia/src/animator/
H A DSkDrawMatrix.h45 void rotate(SkScalar degrees, SkPoint& center) { argument
46 fMatrix.preRotate(degrees, center.fX, center.fY);
53 void scale(SkScalar scaleX, SkScalar scaleY, SkPoint& center) { argument
54 fMatrix.preScale(scaleX, scaleY, center.fX, center.fY);
57 void skew(SkScalar skewX, SkScalar skewY, SkPoint& center) { argument
58 fMatrix.preSkew(skewX, skewY, center.fX, center.fY);
/external/chromium-trace/catapult/tracing/tracing/ui/base/
H A Dtool_button.css7 background-position: center center;
/external/skia/src/core/
H A DSkNinePatchIter.h21 static bool Valid(int imageWidth, int imageHeight, const SkIRect& center);
23 SkNinePatchIter(int imageWidth, int imageHeight, const SkIRect& center, const SkRect& dst);
/external/clang/www/
H A Dmenu.css28 text-align: center;
34 text-align: center;
/external/compiler-rt/www/
H A Dmenu.css28 text-align: center;
34 text-align: center;
/external/libcxx/www/
H A Dmenu.css28 text-align: center;
34 text-align: center;
/external/libcxxabi/www/
H A Dmenu.css28 text-align: center;
34 text-align: center;
/external/skia/gm/
H A Dstringart.cpp38 SkPoint center = SkPoint::Make(SkScalarHalf(kWidth), SkScalarHalf(kHeight)); variable
43 path.moveTo(center);
47 SkPoint rp = SkPoint::Make(length*SkScalarCos(step) + center.fX,
48 length*SkScalarSin(step) + center.fY);
/external/skia/samplecode/
H A DSampleStringArt.cpp35 SkPoint center = SkPoint::Make(SkScalarHalf(this->width()), SkScalarHalf(this->height())); variable
40 path.moveTo(center);
44 SkPoint rp = SkPoint::Make(length*SkScalarCos(step) + center.fX,
45 length*SkScalarSin(step) + center.fY);
/external/skia/src/gpu/batches/
H A DGrNinePatch.h21 const SkIRect& center, const SkRect& dst);
/external/skia/bench/
H A DSKPAnimationBench.cpp60 SkPoint center = SkPoint::Make((devBounds.fLeft + devBounds.fRight) / 2.0f, local
62 drawMatrix->preTranslate(center.fX, center.fY);
64 drawMatrix->preTranslate(-center.fX, -center.fY);
/external/libvncserver/webclients/novnc/include/
H A Dblue.css19 center bottom,
34 center bottom,
49 center bottom,
/external/ceres-solver/examples/
H A Dbal_problem.cc181 double* center) {
193 center);
194 VectorRef(center, 3) *= -1.0;
198 const double* center,
209 center,
250 double center[3]; local
253 CameraToAngleAxisAndCenter(camera, angle_axis, center);
254 // center = scale * (center - median)
255 VectorRef(center,
179 CameraToAngleAxisAndCenter(const double* camera, double* angle_axis, double* center) argument
197 AngleAxisAndCenterToCamera(const double* angle_axis, const double* center, double* camera) argument
278 double center[3]; local
[all...]

Completed in 1528 milliseconds

1234567891011>>