Home
last modified time | relevance | path

Searched refs:targetCoords (Results 1 – 21 of 21) sorted by relevance

/dports/science/rdkit/rdkit-Release_2021_03_5/Code/JavaWrappers/gmwrapper/src-test/org/RDKit/
H A DConformerTests.java90 double[][] targetCoords = { { -0.5, 0.0, 0.0 }, { 1.0, 0.0, 0.0 }, in test0AddHds() local
94 for (int i = 0; i < targetCoords.length; i++) { in test0AddHds()
96 assertPointEquals(pt, new Point3D(targetCoords[i][0], targetCoords[i][1], in test0AddHds()
97 targetCoords[i][2])); in test0AddHds()
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/scumm/he/moonbase/
H A Dai_targetacquisition.cpp161 Common::Point *targetCoords; in createChildObj() local
162targetCoords = currentTarget->createTargetPos((static_cast<int>(index / NUM_WEAPONS) % NUM_SHOT_PO… in createChildObj()
163 retSortie->setShotPos(targetCoords->x, targetCoords->y); in createChildObj()
172 distance = _ai->getDistance((*i)->getPosX(), (*i)->getPosY(), targetCoords->x, targetCoords->y); in createChildObj()
216 distance = _ai->getDistance((*i)->getPosX(), (*i)->getPosY(), targetCoords->x, targetCoords->y); in createChildObj()
251 delete targetCoords; in createChildObj()
H A Dai_main.cpp581 …int targetCoords = fakeSimulateWeaponLaunch(getHubX(launchAction[LAUNCH_SOURCE_HUB]), getHubY(laun… in masterControlProgram() local
582 targetX = targetCoords % getMaxX(); in masterControlProgram()
583 targetY = targetCoords / getMaxX(); in masterControlProgram()
622 targetX = targetCoords % getMaxX(); in masterControlProgram()
623 targetY = targetCoords / getMaxX(); in masterControlProgram()
2317 Common::Point *targetCoords; in offendTarget() local
2319 targetCoords = thisUnit->createTargetPos(0, dist, unit, getHubX(sourceHub), getHubY(sourceHub)); in offendTarget()
2321 …etPowerAngleFromPoint(getHubX(sourceHub), getHubY(sourceHub), targetCoords->x, targetCoords->y, 15… in offendTarget()
2329 targetX = targetCoords->x; in offendTarget()
2330 targetY = targetCoords->y; in offendTarget()
[all …]
/dports/games/scummvm/scummvm-2.5.1/engines/scumm/he/moonbase/
H A Dai_targetacquisition.cpp161 Common::Point *targetCoords; in createChildObj() local
162targetCoords = currentTarget->createTargetPos((static_cast<int>(index / NUM_WEAPONS) % NUM_SHOT_PO… in createChildObj()
163 retSortie->setShotPos(targetCoords->x, targetCoords->y); in createChildObj()
172 distance = _ai->getDistance((*i)->getPosX(), (*i)->getPosY(), targetCoords->x, targetCoords->y); in createChildObj()
216 distance = _ai->getDistance((*i)->getPosX(), (*i)->getPosY(), targetCoords->x, targetCoords->y); in createChildObj()
251 delete targetCoords; in createChildObj()
H A Dai_main.cpp581 …int targetCoords = fakeSimulateWeaponLaunch(getHubX(launchAction[LAUNCH_SOURCE_HUB]), getHubY(laun… in masterControlProgram() local
582 targetX = targetCoords % getMaxX(); in masterControlProgram()
583 targetY = targetCoords / getMaxX(); in masterControlProgram()
622 targetX = targetCoords % getMaxX(); in masterControlProgram()
623 targetY = targetCoords / getMaxX(); in masterControlProgram()
2317 Common::Point *targetCoords; in offendTarget() local
2319 targetCoords = thisUnit->createTargetPos(0, dist, unit, getHubX(sourceHub), getHubY(sourceHub)); in offendTarget()
2321 …etPowerAngleFromPoint(getHubX(sourceHub), getHubY(sourceHub), targetCoords->x, targetCoords->y, 15… in offendTarget()
2329 targetX = targetCoords->x; in offendTarget()
2330 targetY = targetCoords->y; in offendTarget()
[all …]
/dports/astro/kstars/kstars-3.5.6/kstars/ekos/scheduler/
H A Dschedulerjob.cpp160 altitudeAtStartup = findAltitude(targetCoords, startupTime, &isSettingAtStartup); in setStartupTime()
207 altitudeAtCompletion = findAltitude(targetCoords, completionTime, &isSettingAtCompletion); in setCompletionTime()
214 altitudeAtCompletion = findAltitude(targetCoords, completionTime, &isSettingAtCompletion); in setCompletionTime()
221 altitudeAtCompletion = findAltitude(targetCoords, completionTime, &isSettingAtCompletion); in setCompletionTime()
455 altitudeAtCompletion = findAltitude(targetCoords, completionTime, &isSettingAtCompletion); in setEstimatedTime()
535 targetCoords.setRA0(ra); in setTargetCoords()
536 targetCoords.setDec0(dec); in setTargetCoords()
538 targetCoords.apparentCoord(static_cast<long double>(J2000), djd); in setTargetCoords()
662 double const alt = findAltitude(targetCoords, QDateTime(), &is_setting); in updateJobCells()
H A Dschedulerjob.h95 return targetCoords; in getTargetCoords()
686 SkyPoint targetCoords; variable
H A Dscheduler.cpp5054 const SkyPoint targetCoords = currentJob->getTargetCoords(); in startAstrometry() local
5056 targetArgs << targetCoords.ra0().Hours() << targetCoords.dec0().Degrees(); in startAstrometry()
7444 const SkyPoint targetCoords = currentJob->getTargetCoords(); in setCaptureStatus() local
7446 targetArgs << targetCoords.ra0().Hours() << targetCoords.dec0().Degrees(); in setCaptureStatus()
/dports/games/ufoai/ufoai-2.5-source/src/tools/radiant/radiant/textool/
H A DTexToolItem.cpp103 void TexToolItem::moveSelectedTo(const Vector2& targetCoords) { in moveSelectedTo() argument
106 _children[i]->moveSelectedTo(targetCoords); in moveSelectedTo()
H A DTransformable.h35 virtual void moveSelectedTo(const Vector2& targetCoords) = 0;
H A DTexToolItem.h89 virtual void moveSelectedTo(const Vector2& targetCoords);
/dports/science/coordgenlibs/coordgenlibs-3.0.0/
H A DCoordgenMacrocycleBuilder.cpp109 vector<hexCoords> targetCoords; in isTheSameAs() local
111 targetCoords.push_back(hex->coords()); in isTheSameAs()
113 if (!targetCoords.size()) { in isTheSameAs()
132 for (unsigned int j = 0; j < targetCoords.size(); j++) { in isTheSameAs()
133 if (j == 0 || targetCoords[j].x < lowestTargetX) { in isTheSameAs()
134 lowestTargetX = targetCoords[j].x; in isTheSameAs()
136 if (j == 0 || targetCoords[j].y < lowestTargetY) { in isTheSameAs()
137 lowestTargetY = targetCoords[j].y; in isTheSameAs()
141 for (auto& targetCoord : targetCoords) { in isTheSameAs()
148 for (auto targetCoord : targetCoords) { in isTheSameAs()
[all …]
H A DCoordgenFragmentBuilder.cpp527 vector<sketcherMinimizerPointF>* targetCoords = &coords; in buildRing() local
529 targetCoords = &coords2; in buildRing()
532 atoms[i]->setCoordinates((*targetCoords)[i]); in buildRing()
/dports/science/openbabel/openbabel-3.1.1/external/coordgen-master/coordgen/
H A DCoordgenMacrocycleBuilder.cpp107 vector<hexCoords> targetCoords; in isTheSameAs() local
109 targetCoords.push_back(hex->coords()); in isTheSameAs()
111 if (!targetCoords.size()) { in isTheSameAs()
130 for (unsigned int j = 0; j < targetCoords.size(); j++) { in isTheSameAs()
131 if (j == 0 || targetCoords[j].x < lowestTargetX) { in isTheSameAs()
132 lowestTargetX = targetCoords[j].x; in isTheSameAs()
134 if (j == 0 || targetCoords[j].y < lowestTargetY) { in isTheSameAs()
135 lowestTargetY = targetCoords[j].y; in isTheSameAs()
139 for (auto& targetCoord : targetCoords) { in isTheSameAs()
146 for (auto targetCoord : targetCoords) { in isTheSameAs()
[all …]
H A DCoordgenFragmentBuilder.cpp514 vector<sketcherMinimizerPointF>* targetCoords = &coords; in buildRing() local
516 targetCoords = &coords2; in buildRing()
519 atoms[i]->setCoordinates((*targetCoords)[i]); in buildRing()
/dports/science/rdkit/rdkit-Release_2021_03_5/Code/GraphMol/Wrap/
H A DtestConformer.py84 targetCoords = [[-0.5, 0.0, 0.0], [1.0, 0.0, 0.0], [-0.8667, 0.0, 1.03709],
90 self.assertTrue(ptEq(pt, Point3D(*tuple(targetCoords[i]))))
/dports/games/scummvm/scummvm-2.5.1/engines/ultima/ultima4/controllers/
H A Dcombat_controller.cpp911 Coords targetCoords(attacker->getCoords()); in attack() local
913 targetCoords = path.back(); in attack()
920 targetCoords = *i; in attack()
934 const Tile *ground = _map->tileTypeAt(targetCoords, WITHOUT_OBJECTS); in attack()
936 _map->_annotations->add(targetCoords, _map->_tileSet->getByName(weapon->leavesTile())->getId()); in attack()
940 GameController::flashTile(targetCoords, weapon->getMissTile(), 1); in attack()
947 returnWeaponToOwner(targetCoords, targetDistance, MASK_DIR(dir), weapon); in attack()
/dports/games/galaxyhack/galaxyhack/src/
H A DProjectile.cpp639 targetCoords = sides[targetSide].groups[targetGroup].GetUnitCenter(targetUnit); in Move()
642 targetCoords.x += Random() % static_cast<int>(mySpeed / 2) - static_cast<int>(mySpeed); in Move()
643 targetCoords.y += Random() % static_cast<int>(mySpeed / 2) - static_cast<int>(mySpeed); in Move()
648 float dx = targetCoords.x - x; in Move()
649 float dy = targetCoords.y - y; in Move()
H A DProjectile.h113 CoordsInt targetCoords;
/dports/biology/haplohseq/haplohseq-0.1.2/scripts/
H A Dsimple_phaser.py42 def filterHaps(self, phasedHaps, coords, targetCoords): argument
48 if coords[index] in targetCoords:
/dports/games/scummvm/scummvm-2.5.1/engines/saga2/
H A Dpath.cpp1193 static StaticTilePoint targetCoords; // The current destination coordinates member in Saga2::DestinationPathRequest
1323 StaticTilePoint DestinationPathRequest::targetCoords = {0, 0, 0}; member in Saga2::DestinationPathRequest
2085 targetCoords.u = (destination.u & ~kTileUVMask) + kTileUVSize / 2; in initialize()
2086 targetCoords.v = (destination.v & ~kTileUVMask) + kTileUVSize / 2; in initialize()
2087 targetCoords.z = destination.z; in initialize()
2104 targetDelta = (targetCoords - centerPt); in setCenter()
2151 if (targetCoords.z >= upperAltitude) { in evaluateStairs()
2156 } else if (targetCoords.z <= baseAltitude) { in evaluateStairs()
2178 targetDelta = targetCoords - testPt; in evaluateMove()