Searched refs:getCenter (Results 1 – 6 of 6) sorted by relevance
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()
70 public T getCenter() { in getCenter() method in Cluster
63 public Vector2 getCenter() { in getCenter() method in SphereCollisionVolume100 offsetByCenter(mWorkspaceVector2, sphereOther.getCenter(), otherFlip); in intersects()
32 public PointF getCenter() { in getCenter() method in ImageViewState
613 PointF sCenter = getCenter(); in onSizeChanged()1116 PointF center = getCenter(); in onDraw()1923 …if (state != null && state.getCenter() != null && VALID_ORIENTATIONS.contains(state.getOrientation… in restoreState()1926 this.sPendingCenter = state.getCenter(); in restoreState()2534 public final PointF getCenter() { in getCenter() method2658 return new ImageViewState(getScale(), getCenter(), getOrientation()); in getState()2860 onStateChangedListener.onCenterChanged(getCenter(), origin); in sendStateChanged()2930 this.targetSCenter = getCenter(); in AnimationBuilder()3029 anim.sCenterStart = getCenter(); in start()
115 map.put("center", circle.getCenter()); in representData()187 public Map<String, Integer> getCenter() { in getCenter() method in Example2_24Test.Circle