Home
last modified time | relevance | path

Searched refs:centerPt (Results 1 – 25 of 48) sorted by relevance

12

/dports/games/scummvm/scummvm-2.5.1/engines/saga2/
H A Dmapfeatr.cpp325 TilePoint centerPt; in draw() local
329 centerPt = featureCoords - (baseCoords << (kTileUVShift + kPlatShift)); in draw()
331 x = ((centerPt.u - centerPt.v) >> (kTileUVShift + kPlatShift - 2)) + 261 + 4; in draw()
332 y = 255 + 4 - ((centerPt.u + centerPt.v) >> (kTileUVShift + kPlatShift - 1)); in draw()
365 TilePoint centerPt; in hitCheck() local
369 centerPt = featureCoords - (baseCoords << (kTileUVShift + kPlatShift)); in hitCheck()
371 x = ((centerPt.u - centerPt.v) >> (kTileUVShift + kPlatShift - 2)) + 261 + 4; in hitCheck()
372 y = 255 + 4 - ((centerPt.u + centerPt.v) >> (kTileUVShift + kPlatShift - 1)); in hitCheck()
H A Dpath.cpp1126 centerPt.z = qi.z; in calcCenterPt()
1976 else if (testPt.z > centerPt.z in findPath()
2000 TPLine(centerPt, testPt); in findPath()
2153 cost = ((testPt.z - centerPt.z) in evaluateStairs()
2158 cost = ((testPt.z - centerPt.z) in evaluateStairs()
2557 centerPt.z = qi.z; in selectNearbySite()
2635 fromSubPt = centerPt; in selectNearbySite()
2668 TPLine(centerPt, testPt); in selectNearbySite()
2819 centerPt.z = qi.z; in checkPath()
2868 fromSubPt = centerPt; in checkPath()
[all …]
H A Dautomap.cpp328 …TilePoint centerPt = TilePoint(((259 - pos.y) << (kTileUVShift + kPlatShift - 2)) + ((pos.x - 265)… in pointerHit() local
332 TilePoint pt = centerPt + (_baseCoords << (kTileUVShift + kPlatShift)); in pointerHit()
456 centerPt; in createSmallMap() local
526 centerPt = _trackPos - (_baseCoords << (kTileUVShift + kPlatShift)); in createSmallMap()
528 x = ((centerPt.u - centerPt.v) >> (kTileUVShift + kPlatShift - 2)) + 261 + 4; in createSmallMap()
529 y = 255 + 4 - ((centerPt.u + centerPt.v) >> (kTileUVShift + kPlatShift - 1)); in createSmallMap()
/dports/graphics/ossim/ossim-OrchidIsland-2.11.1/src/imaging/
H A DossimBrightnessMatch.cpp175 ossimIpt centerPt = inputRect.midPoint(); in computeInputBrightness() local
176 centerPt.x -= 1024; in computeInputBrightness()
177 centerPt.y -= 1024; in computeInputBrightness()
178 ossimIrect reqRect(centerPt.x, in computeInputBrightness()
179 centerPt.y, in computeInputBrightness()
180 centerPt.x + 2047, in computeInputBrightness()
181 centerPt.x + 2047); in computeInputBrightness()
/dports/math/jts/jts-jts-1.18.1/modules/core/src/test/java/org/locationtech/jts/algorithm/construct/
H A DLargestEmptyCircleTest.java73 Coordinate centerPt = centerPoint.getCoordinate(); in checkCircle() local
75 checkEqualXY(expectedCenter, centerPt, tolerance); in checkCircle()
81 checkEqualXY("Radius line center point: ", centerPt, radiusLine.getCoordinateN(0)); in checkCircle()
97 Coordinate centerPt = lec.getCenter().getCoordinate(); in checkCircleZeroRadius() local
98 checkEqualXY("Radius line center point: ", centerPt, radiusLine.getCoordinateN(0)); in checkCircleZeroRadius()
H A DMaximumInscibedCircleTest.java75 Coordinate centerPt = centerPoint.getCoordinate(); in checkCircle() local
77 checkEqualXY(expectedCenter, centerPt, tolerance); in checkCircle()
83 checkEqualXY("Radius line center point: ", centerPt, radiusLine.getCoordinateN(0)); in checkCircle()
/dports/cad/openroad/OpenROAD-2.0/src/TritonRoute/src/gr/
H A DFlexGRGridGraph_maze.cpp42 const frPoint& centerPt) in search() argument
73 = abs(currPt.x() - centerPt.x()) + abs(currPt.y() - centerPt.y()); in search()
97 expandWavefront(currGrid, dstMazeIdx1, dstMazeIdx2, centerPt); in search()
236 const frPoint& centerPt) in expandWavefront() argument
240 expand(currGrid, frDirEnum::N, dstMazeIdx1, dstMazeIdx2, centerPt); in expandWavefront()
244 expand(currGrid, frDirEnum::E, dstMazeIdx1, dstMazeIdx2, centerPt); in expandWavefront()
248 expand(currGrid, frDirEnum::S, dstMazeIdx1, dstMazeIdx2, centerPt); in expandWavefront()
252 expand(currGrid, frDirEnum::W, dstMazeIdx1, dstMazeIdx2, centerPt); in expandWavefront()
256 expand(currGrid, frDirEnum::U, dstMazeIdx1, dstMazeIdx2, centerPt); in expandWavefront()
285 const frPoint& centerPt) in expand() argument
[all …]
H A DFlexGR_maze.cpp441 frPoint centerPt; in routeNet() local
450 centerPt); in routeNet()
465 centerPt)) { in routeNet()
558 frPoint& centerPt) in routeNet_setSrc() argument
565 centerPt.set(0, 0); in routeNet_setSrc()
578 centerPt.set(centerPt.x() + loc.x(), centerPt.y() + loc.y()); in routeNet_setSrc()
584 centerPt.set(centerPt.x() / totPinCnt, centerPt.y() / totPinCnt); in routeNet_setSrc()
/dports/graphics/geos/geos-3.9.1/tests/unit/algorithm/construct/
H A DLargestEmptyCircleTest.cpp70 const Coordinate* centerPt = centerPoint->getCoordinate(); in checkCircle() local
72 ensure_equals_coordinate(*centerPt, expectedCenter, tolerance); in checkCircle()
83 ensure_equals_coordinate(*centerPt, linePt0, tolerance); in checkCircle()
93 const Coordinate* centerPt = centerPoint->getCoordinate(); in checkCircleZeroRadius() local
101 ensure_equals_coordinate(*centerPt, linePt0, tolerance); in checkCircleZeroRadius()
H A DMaximumInscribedCircleTest.cpp69 const Coordinate* centerPt = centerPoint->getCoordinate(); in checkCircle() local
71 ensure_equals_coordinate(*centerPt, expectedCenter, tolerance); in checkCircle()
82 ensure_equals_coordinate(*centerPt, linePt0, tolerance); in checkCircle()
/dports/graphics/geos/geos-3.9.1/src/algorithm/construct/
H A DLargestEmptyCircle.cpp104 return std::unique_ptr<Point>(factory->createPoint(centerPt)); in getCenter()
122 cl->setAt(centerPt, 0); in getRadiusLine()
226 centerPt = *pt; in compute()
272 centerPt.x = centerCell.getX(); in compute()
273 centerPt.y = centerCell.getY(); in compute()
276 std::unique_ptr<Point> centerPoint(factory->createPoint(centerPt)); in compute()
H A DMaximumInscribedCircle.cpp86 auto pt = factory->createPoint(centerPt); in getCenter()
106 cl->setAt(centerPt, 0); in getRadiusLine()
214 centerPt.x = centerCell.getX(); in compute()
215 centerPt.y = centerCell.getY(); in compute()
218 std::unique_ptr<Point> centerPoint(factory->createPoint(centerPt)); in compute()
/dports/math/jts/jts-jts-1.18.1/modules/core/src/main/java/org/locationtech/jts/algorithm/construct/
H A DLargestEmptyCircle.java92 private Coordinate centerPt; field in LargestEmptyCircle
165 new Coordinate[] { centerPt.copy(), radiusPt.copy() }); in getRadiusLine()
202 centerPt = pt.copy(); in compute()
251 centerPt = new Coordinate(centerCell.getX(), centerCell.getY()); in compute()
252 centerPoint = factory.createPoint(centerPt); in compute()
H A DMaximumInscribedCircle.java95 private Coordinate centerPt = null; field in MaximumInscribedCircle
159 new Coordinate[] { centerPt.copy(), radiusPt.copy() }); in getRadiusLine()
231 centerPt = new Coordinate(centerCell.getX(), centerCell.getY()); in compute()
232 centerPoint = factory.createPoint(centerPt); in compute()
/dports/graphics/qgis/qgis-3.22.3/src/core/geometry/
H A Dqgsellipse.cpp83 QgsPoint centerPt( center ); in fromCenterPoint() local
84 QgsGeometryUtils::transferFirstZOrMValueToPoint( QgsPointSequence() << center << pt1, centerPt ); in fromCenterPoint()
86 return QgsEllipse( centerPt, axis_a, axis_b, azimuth ); in fromCenterPoint()
98 QgsPoint centerPt( center ); in fromCenter2Points() local
99 …ometryUtils::transferFirstZOrMValueToPoint( QgsPointSequence() << center << pt1 << pt2, centerPt ); in fromCenter2Points()
101 return QgsEllipse( centerPt, axis_a, axis_b, azimuth ); in fromCenter2Points()
/dports/graphics/qgis-ltr/qgis-3.16.16/src/core/geometry/
H A Dqgsellipse.cpp83 QgsPoint centerPt( center ); in fromCenterPoint() local
84 QgsGeometryUtils::setZValueFromPoints( QgsPointSequence() << center << pt1, centerPt ); in fromCenterPoint()
86 return QgsEllipse( centerPt, axis_a, axis_b, azimuth ); in fromCenterPoint()
98 QgsPoint centerPt( center ); in fromCenter2Points() local
99 QgsGeometryUtils::setZValueFromPoints( QgsPointSequence() << center << pt1 << pt2, centerPt ); in fromCenter2Points()
101 return QgsEllipse( centerPt, axis_a, axis_b, azimuth ); in fromCenter2Points()
H A Dqgscircle.cpp185 QgsPoint centerPt( center ); in fromCenterPoint() local
186 QgsGeometryUtils::setZValueFromPoints( QgsPointSequence() << center << pt1, centerPt ); in fromCenterPoint()
188 return QgsCircle( centerPt, centerPt.distance( pt1 ), azimuth ); in fromCenterPoint()
/dports/cad/openroad/OpenROAD-2.0/src/TritonRoute/src/dr/
H A DFlexGridGraph_maze.cpp40 const frPoint& centerPt) in expand() argument
58 = abs(currPt.x() - centerPt.x()) + abs(currPt.y() - centerPt.y()); in expand()
157 const frPoint& centerPt) in expandWavefront() argument
214 expand(currGrid, frDirEnum::N, dstMazeIdx1, dstMazeIdx2, centerPt); in expandWavefront()
221 expand(currGrid, frDirEnum::E, dstMazeIdx1, dstMazeIdx2, centerPt); in expandWavefront()
228 expand(currGrid, frDirEnum::S, dstMazeIdx1, dstMazeIdx2, centerPt); in expandWavefront()
235 expand(currGrid, frDirEnum::W, dstMazeIdx1, dstMazeIdx2, centerPt); in expandWavefront()
242 expand(currGrid, frDirEnum::U, dstMazeIdx1, dstMazeIdx2, centerPt); in expandWavefront()
895 const frPoint& centerPt, in search() argument
928 = abs(currPt.x() - centerPt.x()) + abs(currPt.y() - centerPt.y()); in search()
[all …]
/dports/math/vtk9/VTK-9.1.0/Filters/Core/Testing/Cxx/
H A DTestCellCenters.cxx103 double centerPt[3]; in TestCellCenters() local
104 cellCentersOutput->GetPoint(cellId, centerPt); in TestCellCenters()
106 if (vtkMath::Distance2BetweenPoints(centerPt, expectedPt) > 1e-6) in TestCellCenters()
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/titanic/star_control/
H A Dstar_view.cpp136 FPoint centerPt(300.0, 170.0); in MouseMoveMsg() local
138 if (fpt != centerPt) { in MouseMoveMsg()
139 float threshold = MIN(centerPt._x, centerPt._y) * 0.5; in MouseMoveMsg()
140 FPoint tempPt = fpt - centerPt; in MouseMoveMsg()
/dports/games/scummvm/scummvm-2.5.1/engines/titanic/star_control/
H A Dstar_view.cpp137 FPoint centerPt(300.0, 170.0); in MouseMoveMsg() local
139 if (fpt != centerPt) { in MouseMoveMsg()
140 float threshold = MIN(centerPt._x, centerPt._y) * 0.5; in MouseMoveMsg()
141 FPoint tempPt = fpt - centerPt; in MouseMoveMsg()
/dports/graphics/ossim/ossim-OrchidIsland-2.11.1/include/ossim/base/
H A DossimViewEvent.h33 ossimGpt centerPt,
39 theCenterPoint(centerPt), in ossimEvent()
/dports/graphics/qgis/qgis-3.22.3/src/core/labeling/
H A Dqgsvectorlayerlabelprovider.cpp546 QPointF centerPt( outPt ); in drawLabelPrivate() local
557 centerPt.setX( centerPt.x() + xd ); in drawLabelPrivate()
558 centerPt.setY( centerPt.y() + yd ); in drawLabelPrivate()
560 component.center = centerPt; in drawLabelPrivate()
/dports/graphics/qgis-ltr/qgis-3.16.16/src/core/labeling/
H A Dqgsvectorlayerlabelprovider.cpp526 QPointF centerPt( outPt ); in drawLabelPrivate() local
537 centerPt.setX( centerPt.x() + xd ); in drawLabelPrivate()
538 centerPt.setY( centerPt.y() + yd ); in drawLabelPrivate()
540 component.center = centerPt; in drawLabelPrivate()
/dports/cad/zcad/zcad-8b8a693/cad_source/zcad/velec/
H A Duzvsgeom.pas425 pt1new,pt2new,centerPt:GDBVertex;
448 centerPt:=uzegeometry.Vertexmorph(pt1new,pt2new,0.5);
449 centerline:=uzegeometry.Vertexlength(pline11,centerPt);
453 result:=extendedLine(pline11,centerPt,centerline);

12