/external/jmonkeyengine/engine/src/tools/jme3tools/optimize/ |
D | FastOctnode.java | 92 bbox.getCenter().set(bbox.getCenter().x + extent * Octnode.extentMult[side].x, in findChildBound() 93 bbox.getCenter().y + extent * Octnode.extentMult[side].y, in findChildBound() 94 bbox.getCenter().z + extent * Octnode.extentMult[side].z); in findChildBound() 101 tempBox.setCenter(parentBox.getCenter()); in generateRenderSet() 127 float x = tempBox.getCenter().x; in generateRenderSet() 128 float y = tempBox.getCenter().y; in generateRenderSet() 129 float z = tempBox.getCenter().z; in generateRenderSet() 139 tempBox.getCenter().set(x,y,z); in generateRenderSet()
|
D | Octnode.java | 78 Vector3f center = new Vector3f(bbox.getCenter().x + extent * extentMult[side].x, in getChildBound() 79 bbox.getCenter().y + extent * extentMult[side].y, in getChildBound() 80 bbox.getCenter().z + extent * extentMult[side].z); in getChildBound() 276 geom.setLocalTranslation(bbox2.getCenter()); in renderBounds()
|
/external/skia/src/gpu/effects/ |
D | GrOvalEffect.cpp | 31 const SkPoint& getCenter() const { return fCenter; } in getCenter() function in CircleEffect 171 if (ce.getRadius() != fPrevRadius || ce.getCenter() != fPrevCenter) { in setData() 178 pdman.set4f(fCircleUniform, ce.getCenter().fX, ce.getCenter().fY, radius, in setData() 180 fPrevCenter = ce.getCenter(); in setData() 211 const SkPoint& getCenter() const { return fCenter; } in getCenter() function in EllipseEffect 363 if (ee.getRadii() != fPrevRadii || ee.getCenter() != fPrevCenter) { in setData() 366 pdman.set4f(fEllipseUniform, ee.getCenter().fX, ee.getCenter().fY, invRXSqd, invRYSqd); in setData() 367 fPrevCenter = ee.getCenter(); in setData()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/clustering/ |
D | KMeansPlusPlusClusterer.java | 121 newCenter = cluster.getCenter().centroidOf(cluster.getPoints()); in cluster() 122 if (!newCenter.equals(cluster.getCenter())) { in cluster() 179 final double d = p.distanceFrom(nearest.getCenter()); in chooseInitialCenters() 214 final T center = cluster.getCenter(); in getPointFromLargestVarianceCluster() 289 final T center = cluster.getCenter(); in getFarthestPoint() 324 final double distance = point.distanceFrom(c.getCenter()); in getNearestCluster()
|
D | Cluster.java | 70 public T getCenter() { in getCenter() method in Cluster
|
/external/jmonkeyengine/engine/src/core/com/jme3/collision/bih/ |
D | TriangleAxisComparator.java | 48 Vector3f c1 = o1.getCenter(); in compare() 49 Vector3f c2 = o2.getCenter(); in compare()
|
D | BIHNode.java | 158 float[] minExts = {box.getCenter().x - box.getXExtent(), in intersectWhere() 159 box.getCenter().y - box.getYExtent(), in intersectWhere() 160 box.getCenter().z - box.getZExtent()}; in intersectWhere() 162 float[] maxExts = {box.getCenter().x + box.getXExtent(), in intersectWhere() 163 box.getCenter().y + box.getYExtent(), in intersectWhere() 164 box.getCenter().z + box.getZExtent()}; in intersectWhere()
|
D | BIHTriangle.java | 65 public Vector3f getCenter() { in getCenter() method in BIHTriangle
|
D | BIHTree.java | 321 float split = currentBox.getCenter().get(axis); in createNode() 436 bbox = new BoundingBox(bv.getCenter().clone(), sphere.getRadius(), in collideWithBoundingVolume()
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/ |
D | UVProjectionGenerator.java | 120 float cx = bt.getCenter().x, cy = bt.getCenter().y; in tubeProjection() 123 float vBase = bt.getCenter().z - bt.getHeight() * 0.5f; in tubeProjection() 179 float cx = bs.getCenter().x, cy = bs.getCenter().y, cz = bs.getCenter().z; in sphereProjection()
|
D | UVCoordinatesGenerator.java | 229 return new BoundingBox(bs.getCenter(), r, r, r); in getBoundingBox() 267 return new BoundingSphere(r, bb.getCenter()); in getBoundingSphere() 404 public Vector3f getCenter() { in getCenter() method
|
/external/jmonkeyengine/engine/src/core/com/jme3/shadow/ |
D | PssmShadowUtil.java | 79 …return min(max(bbOcc.getZExtent() - bbOcc.getCenter().z, bbRecv.getZExtent() - bbRecv.getCenter().… in computeZFar()
|
D | ShadowUtil.java | 179 if (!Float.isNaN(newVol.getCenter().x) && !Float.isInfinite(newVol.getCenter().x)) { in computeUnionBound() 199 if (!Float.isNaN(store.getCenter().x) && !Float.isInfinite(store.getCenter().x)) { in computeUnionBound() 397 occBB.setCenter(occBB.getCenter().addLocal(0, 0, 25)); in updateShadowCamera() 403 occBB.setCenter(occBB.getCenter().subtractLocal(0, 0, 25)); in updateShadowCamera()
|
/external/jmonkeyengine/engine/src/test/jme3test/bullet/ |
D | TestFancyCar.java | 190 player.addWheel(wheel_fr.getParent(), box.getCenter().add(0, -front_wheel_h, 0), in buildPlayer() 196 player.addWheel(wheel_fl.getParent(), box.getCenter().add(0, -front_wheel_h, 0), in buildPlayer() 202 player.addWheel(wheel_br.getParent(), box.getCenter().add(0, -back_wheel_h, 0), in buildPlayer() 208 player.addWheel(wheel_bl.getParent(), box.getCenter().add(0, -back_wheel_h, 0), in buildPlayer()
|
/external/jmonkeyengine/engine/src/core/com/jme3/bounding/ |
D | BoundingVolume.java | 191 public final Vector3f getCenter() { in getCenter() method in BoundingVolume 195 public final Vector3f getCenter(Vector3f store) { in getCenter() method in BoundingVolume
|
D | Intersection.java | 101 Vector3f center = bbox.getCenter(); in intersect()
|
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/ |
D | TerrainPatch.java | 813 … BoundingBox bbox = new BoundingBox(boundingVolume.getCenter().clone(), sphere.getRadius(), in collideWithBoundingVolume() 835 …topLeft = worldCoordinateToLocal(new Vector3f(bbox.getCenter().x-bbox.getXExtent(), 0, bbox.getCen… in collideWithBoundingBox() 836 …opRight = worldCoordinateToLocal(new Vector3f(bbox.getCenter().x+bbox.getXExtent(), 0, bbox.getCen… in collideWithBoundingBox() 837 …tomLeft = worldCoordinateToLocal(new Vector3f(bbox.getCenter().x-bbox.getXExtent(), 0, bbox.getCen… in collideWithBoundingBox() 838 …omRight = worldCoordinateToLocal(new Vector3f(bbox.getCenter().x+bbox.getXExtent(), 0, bbox.getCen… in collideWithBoundingBox()
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | SphereCollisionVolume.java | 63 public Vector2 getCenter() { in getCenter() method in SphereCollisionVolume 100 offsetByCenter(mWorkspaceVector2, sphereOther.getCenter(), otherFlip); in intersects()
|
/external/jmonkeyengine/engine/src/core/com/jme3/renderer/queue/ |
D | OpaqueComparator.java | 62 spatPosition = spat.getWorldBound().getCenter(); in distanceToCam()
|
D | TransparentComparator.java | 68 spatPosition = spat.getWorldBound().getCenter(); in distanceToCam2()
|
/external/jmonkeyengine/engine/src/core/com/jme3/effect/shapes/ |
D | EmitterSphereShape.java | 88 public Vector3f getCenter() { in getCenter() method in EmitterSphereShape
|
/external/jmonkeyengine/engine/src/core/com/jme3/math/ |
D | Ring.java | 94 public Vector3f getCenter() { in getCenter() method in Ring
|
D | Triangle.java | 199 public Vector3f getCenter() { in getCenter() method in Triangle
|
/external/jmonkeyengine/engine/src/core/com/jme3/scene/shape/ |
D | AbstractBox.java | 117 public final Vector3f getCenter() { in getCenter() method in AbstractBox
|
D | Dome.java | 139 public Vector3f getCenter() { in getCenter() method in Dome
|