Home
last modified time | relevance | path

Searched refs:getDirection (Results 1 – 25 of 2166) sorted by relevance

12345678910>>...87

/dports/graphics/Coin/coin-Coin-4.0.0/src/base/
H A DSbCylinder.cpp92 if (!(a.getDirection().length() > 0.0f)) in setAxis()
165 if (!(l.getDirection().length()>0.0f)) in intersect()
209 SbVec3f n = l.getDirection().cross(this->axis.getDirection()); in intersect()
216 float dist = cv.dot(this->axis.getDirection()); in intersect()
217 dist = (cv - dist*this->axis.getDirection()).length(); in intersect()
225 enter = l.getPosition() + -offset*l.getDirection(); in intersect()
226 exit = l.getPosition() + offset*l.getDirection(); in intersect()
241 SbVec3f tmp = cv.cross(this->axis.getDirection()); in intersect()
243 tmp = n.cross(this->axis.getDirection()); in intersect()
248 l.getDirection().dot(tmp))); in intersect()
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/drawinglayer/source/primitive2d/
H A Dhelplineprimitive2d.cxx35 if(rViewInformation.getViewport().isEmpty() || getDirection().equalZero()) in create2DDecomposition()
46 basegfx::B2DVector aNormalizedDirection(getDirection()); in create2DDecomposition()
72 if(basegfx::areParallel(getDirection(), basegfx::B2DVector(1.0, 0.0))) in create2DDecomposition()
75 …(rViewInformation.getDiscreteViewport().getMinX() - aViewPosition.getX()) / getDirection().getX()); in create2DDecomposition()
76 …(rViewInformation.getDiscreteViewport().getMaxX() - aViewPosition.getX()) / getDirection().getX()); in create2DDecomposition()
77 const basegfx::B2DPoint aPosA(aViewPosition + (fCutA * getDirection())); in create2DDecomposition()
78 const basegfx::B2DPoint aPosB(aViewPosition + (fCutB * getDirection())); in create2DDecomposition()
91 …(rViewInformation.getDiscreteViewport().getMinY() - aViewPosition.getY()) / getDirection().getY()); in create2DDecomposition()
93 const basegfx::B2DPoint aPosA(aViewPosition + (fCutA * getDirection())); in create2DDecomposition()
94 const basegfx::B2DPoint aPosB(aViewPosition + (fCutB * getDirection())); in create2DDecomposition()
[all …]
/dports/editors/libreoffice6/libreoffice-6.4.7.2/drawinglayer/source/primitive2d/
H A Dhelplineprimitive2d.cxx38 if(!rViewInformation.getViewport().isEmpty() && !getDirection().equalZero()) in create2DDecomposition()
48 basegfx::B2DVector aNormalizedDirection(getDirection()); in create2DDecomposition()
76 if(basegfx::areParallel(getDirection(), basegfx::B2DVector(1.0, 0.0))) in create2DDecomposition()
79 …(rViewInformation.getDiscreteViewport().getMinX() - aViewPosition.getX()) / getDirection().getX()); in create2DDecomposition()
80 …(rViewInformation.getDiscreteViewport().getMaxX() - aViewPosition.getX()) / getDirection().getX()); in create2DDecomposition()
81 const basegfx::B2DPoint aPosA(aViewPosition + (fCutA * getDirection())); in create2DDecomposition()
82 const basegfx::B2DPoint aPosB(aViewPosition + (fCutB * getDirection())); in create2DDecomposition()
95 …(rViewInformation.getDiscreteViewport().getMinY() - aViewPosition.getY()) / getDirection().getY()); in create2DDecomposition()
97 const basegfx::B2DPoint aPosA(aViewPosition + (fCutA * getDirection())); in create2DDecomposition()
98 const basegfx::B2DPoint aPosB(aViewPosition + (fCutB * getDirection())); in create2DDecomposition()
[all …]
/dports/games/stendhal/stendhal-1.35/tests/games/stendhal/server/entity/
H A DActiveEntityTest.java70 assertEquals(Direction.UP, ae.getDirection()); in testFaceto()
72 assertEquals(Direction.UP, ae.getDirection()); in testFaceto()
74 assertEquals(Direction.UP, ae.getDirection()); in testFaceto()
77 assertEquals(Direction.LEFT, ae.getDirection()); in testFaceto()
80 assertEquals(Direction.RIGHT, ae.getDirection()); in testFaceto()
83 assertEquals(Direction.DOWN, ae.getDirection()); in testFaceto()
85 assertEquals(Direction.DOWN, ae.getDirection()); in testFaceto()
87 assertEquals(Direction.DOWN, ae.getDirection()); in testFaceto()
/dports/math/drgeo/drgeo-1.1.0/geo/
H A Ddrgeo_direction.cc114 u = ((direction *) getFirst)->getDirection (); in update()
131 u = u.reflexion (((direction *) getN (1))->getDirection ()); in update()
136 getDirection ()); in update()
139 origin += ((direction *) getN (1))->getDirection (); in update()
151 drgeoVector & direction::getDirection () in getDirection() function in direction
183 det = u ^ d.getDirection (); in directionIntersection()
187 c2 = d.getOrigin () ^ d.getDirection (); in directionIntersection()
189 p.set ((-c1 * d.getDirection ().getX () + c2 * u.getX ()) / det, in directionIntersection()
190 (u.getY () * c2 - d.getDirection ().getY () * c1) / det); in directionIntersection()
/dports/games/ksnakeduel/ksnakeduel-21.12.3/src/
H A Dintelligence.cpp130 switch (m_tron->getPlayer(playerNr)->getDirection()) in think()
226 switch (m_tron->getPlayer(playerNr)->getDirection()) in think()
231 if(m_tron->getPlayer(opponent)->getDirection()==PlayerDirections::Down) in think()
233 else if(m_tron->getPlayer(opponent)->getDirection()==PlayerDirections::Up) in think()
235 else if(m_tron->getPlayer(opponent)->getDirection()==PlayerDirections::Left) in think()
243 if(m_tron->getPlayer(opponent)->getDirection()==PlayerDirections::Up) in think()
255 if(m_tron->getPlayer(opponent)->getDirection()==PlayerDirections::Right) in think()
261 else if(m_tron->getPlayer(opponent)->getDirection()==PlayerDirections::Up) in think()
267 if(m_tron->getPlayer(opponent)->getDirection()==PlayerDirections::Left) in think()
271 else if(m_tron->getPlayer(opponent)->getDirection()==PlayerDirections::Up) in think()
[all …]
/dports/audio/tuxguitar/tuxguitar-src-1.2/TuxGuitar-ptb/src/org/herac/tuxguitar/io/ptb/
H A DPTSongSynchronizerUtil.java123 if( direction.getDirection() == PTDirection.DIRECTION_FINE ){ in applyRepeats()
130 else if( direction.getDirection() == PTDirection.DIRECTION_DA_CAPO ){ in applyRepeats()
138 else if( direction.getDirection() == PTDirection.DIRECTION_DAL_SEGNO ){ in applyRepeats()
149 else if( direction.getDirection() == PTDirection.DIRECTION_DAL_SEGNO_SEGNO ){ in applyRepeats()
160 else if( direction.getDirection() == PTDirection.DIRECTION_TO_CODA ){ in applyRepeats()
171 else if( direction.getDirection() == PTDirection.DIRECTION_TO_DOUBLE_CODA ){ in applyRepeats()
182 else if( direction.getDirection() == PTDirection.DIRECTION_DA_CAPO_AL_CODA ){ in applyRepeats()
193 else if( direction.getDirection() == PTDirection.DIRECTION_DA_CAPO_AL_DOUBLE_CODA ){ in applyRepeats()
203 else if( direction.getDirection() == PTDirection.DIRECTION_DAL_SEGNO_AL_CODA ){ in applyRepeats()
255 else if( direction.getDirection() == PTDirection.DIRECTION_DA_CAPO_AL_FINE ){ in applyRepeats()
[all …]
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.ui/org.eclipse.ltk.ui.refactoring/src/org/eclipse/ltk/ui/refactoring/model/
H A DAbstractSynchronizationLabelProvider.java56 …oringDescriptorDiff((RefactoringDescriptorProxy) element, getKind(element), getDirection(element)); in getDiff()
58 …return new RefactoringHistoryDiff((RefactoringHistory) element, getKind(element), getDirection(ele… in getDiff()
77 protected int getDirection(Object element) { in getDirection() method in AbstractSynchronizationLabelProvider
85 direction= proxy.getDirection(); in getDirection()
91 if (proxy.getDirection() != direction) in getDirection()
98 return proxy.getDirection(); in getDirection()
/dports/editors/libreoffice/libreoffice-7.2.6.2/drawinglayer/source/attribute/
H A Dsdrlightattribute3d.cxx49 const basegfx::B3DVector& getDirection() const { return maDirection; } in getDirection() function in drawinglayer::attribute::ImpSdr3DLightAttribute
55 && getDirection() == rCandidate.getDirection() in operator ==()
91 const basegfx::B3DVector& Sdr3DLightAttribute::getDirection() const in getDirection() function in drawinglayer::attribute::Sdr3DLightAttribute
93 return mpSdr3DLightAttribute->getDirection(); in getDirection()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/drawinglayer/source/attribute/
H A Dsdrlightattribute3d.cxx51 const basegfx::B3DVector& getDirection() const { return maDirection; } in getDirection() function in drawinglayer::attribute::ImpSdr3DLightAttribute
57 && getDirection() == rCandidate.getDirection() in operator ==()
93 const basegfx::B3DVector& Sdr3DLightAttribute::getDirection() const in getDirection() function in drawinglayer::attribute::Sdr3DLightAttribute
95 return mpSdr3DLightAttribute->getDirection(); in getDirection()
/dports/games/stendhal/stendhal-1.35/src/games/stendhal/server/entity/creature/impl/idle/
H A DStandOnIdle.java55 creature.setDirection(creature.getDirection().oppositeDirection()); in retreat()
57 if (creature.getZone().collides(creature, creature.getX() + creature.getDirection().getdx(), in retreat()
58 creature.getY() + creature.getDirection().getdy(), true)) { in retreat()
61 creature.setDirection(creature.getDirection().nextDirection()); in retreat()
63 creature.setDirection(creature.getDirection().nextDirection().oppositeDirection()); in retreat()
/dports/security/fwbuilder/fwbuilder-5.3.7/src/iptlib/
H A DMangleTableCompiler_ipt.cpp77 if (rule->getDirection()==PolicyRule::Undefined || in processNext()
78 rule->getDirection()==PolicyRule::Both || in processNext()
79 rule->getDirection()==PolicyRule::Inbound) in processNext()
88 if (rule->getDirection()==PolicyRule::Undefined || in processNext()
89 rule->getDirection()==PolicyRule::Both || in processNext()
90 rule->getDirection()==PolicyRule::Outbound) in processNext()
/dports/math/scilab/scilab-6.1.1/scilab/modules/graphic_objects/src/java/org/scilab/modules/graphic_objects/vectfield/
H A DChamp.java308 direction[0] = arrows.get(0).getDirection()[0]; in computeBoundingBox()
309 direction[1] = arrows.get(0).getDirection()[1]; in computeBoundingBox()
310 direction[2] = arrows.get(0).getDirection()[2]; in computeBoundingBox()
332 direction[0] = arrows.get(i).getDirection()[0]; in computeBoundingBox()
333 direction[1] = arrows.get(i).getDirection()[1]; in computeBoundingBox()
334 direction[2] = arrows.get(i).getDirection()[2]; in computeBoundingBox()
427 direction[0] = arrows.get(0).getDirection()[0]; in computeMaxLength()
428 direction[1] = arrows.get(0).getDirection()[1]; in computeMaxLength()
429 direction[2] = arrows.get(0).getDirection()[2]; in computeMaxLength()
434 direction[0] = arrows.get(i).getDirection()[0]; in computeMaxLength()
[all …]
/dports/biology/artemis/artemis-17.0.1-11-g3e43d27e/uk/ac/sanger/artemis/sequence/
H A DStrand.java82 if (getDirection () == FORWARD) { in getStrandBases()
92 public int getDirection () { in getDirection() method in Strand
104 if (getDirection () == FORWARD) { in isForwardStrand()
126 return bases.getStopOrStartCodons(range, getDirection (), query_codons); in getStopOrStartCodons()
130 return bases.getStopCodons (range, getDirection ()); in getStopCodons()
146 return bases.getMatchingCodons (range, getDirection (), query_codons); in getMatchingCodons()
514 if (getDirection () == FORWARD) { in makeMarkerFromRawPosition()
538 if (getDirection () == FORWARD) { in makeMarkerRangeFromRawPositions()
553 return getBases ().getRawPosition (strand_position, getDirection ()); in getRawPosition()
599 return getBases ().getTranslation (range, getDirection (), unknown_is_x); in getTranslation()
[all …]
/dports/games/stendhal/stendhal-1.35/src/games/stendhal/server/entity/creature/impl/attack/
H A DCoward.java24 creature.setDirection(creature.getDirection().oppositeDirection()); in getBetterAttackPosition()
25 if (creature.getZone().collides(creature, creature.getX() + creature.getDirection().getdx(), in getBetterAttackPosition()
26 creature.getY() + creature.getDirection().getdy(), true)) { in getBetterAttackPosition()
27 creature.setDirection(creature.getDirection().nextDirection()); in getBetterAttackPosition()
/dports/astro/celestia-gtk/celestia-1.6.1/src/celengine/
H A Daxisarrow.h40 virtual Vec3d getDirection(double tdb) const = 0;
102 Vec3d getDirection(double tdb) const;
110 Vec3d getDirection(double tdb) const;
118 Vec3d getDirection(double tdb) const;
129 Vec3d getDirection(double tdb) const;
/dports/astro/celestia/celestia-1.6.1/src/celengine/
H A Daxisarrow.h40 virtual Vec3d getDirection(double tdb) const = 0;
102 Vec3d getDirection(double tdb) const;
110 Vec3d getDirection(double tdb) const;
118 Vec3d getDirection(double tdb) const;
129 Vec3d getDirection(double tdb) const;
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/java.desktop/share/classes/javax/swing/plaf/metal/
H A DMetalScrollButton.java115 if ( getDirection() == NORTH ) in paint()
163 else if ( getDirection() == SOUTH ) in paint()
211 else if ( getDirection() == EAST ) in paint()
253 else if ( getDirection() == WEST ) in paint()
302 if ( getDirection() == NORTH ) in getPreferredSize()
306 else if ( getDirection() == SOUTH ) in getPreferredSize()
310 else if ( getDirection() == EAST ) in getPreferredSize()
314 else if ( getDirection() == WEST ) in getPreferredSize()
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/java.desktop/share/classes/javax/swing/plaf/metal/
H A DMetalScrollButton.java115 if ( getDirection() == NORTH ) in paint()
163 else if ( getDirection() == SOUTH ) in paint()
211 else if ( getDirection() == EAST ) in paint()
253 else if ( getDirection() == WEST ) in paint()
302 if ( getDirection() == NORTH ) in getPreferredSize()
306 else if ( getDirection() == SOUTH ) in getPreferredSize()
310 else if ( getDirection() == EAST ) in getPreferredSize()
314 else if ( getDirection() == WEST ) in getPreferredSize()
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/java.desktop/share/classes/javax/swing/plaf/metal/
H A DMetalScrollButton.java115 if ( getDirection() == NORTH ) in paint()
163 else if ( getDirection() == SOUTH ) in paint()
211 else if ( getDirection() == EAST ) in paint()
253 else if ( getDirection() == WEST ) in paint()
302 if ( getDirection() == NORTH ) in getPreferredSize()
306 else if ( getDirection() == SOUTH ) in getPreferredSize()
310 else if ( getDirection() == EAST ) in getPreferredSize()
314 else if ( getDirection() == WEST ) in getPreferredSize()
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/java.desktop/share/classes/javax/swing/plaf/metal/
H A DMetalScrollButton.java115 if ( getDirection() == NORTH ) in paint()
163 else if ( getDirection() == SOUTH ) in paint()
211 else if ( getDirection() == EAST ) in paint()
253 else if ( getDirection() == WEST ) in paint()
302 if ( getDirection() == NORTH ) in getPreferredSize()
306 else if ( getDirection() == SOUTH ) in getPreferredSize()
310 else if ( getDirection() == EAST ) in getPreferredSize()
314 else if ( getDirection() == WEST ) in getPreferredSize()
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/java.desktop/share/classes/javax/swing/plaf/metal/
H A DMetalScrollButton.java115 if ( getDirection() == NORTH ) in paint()
163 else if ( getDirection() == SOUTH ) in paint()
211 else if ( getDirection() == EAST ) in paint()
253 else if ( getDirection() == WEST ) in paint()
302 if ( getDirection() == NORTH ) in getPreferredSize()
306 else if ( getDirection() == SOUTH ) in getPreferredSize()
310 else if ( getDirection() == EAST ) in getPreferredSize()
314 else if ( getDirection() == WEST ) in getPreferredSize()
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/java.desktop/share/classes/javax/swing/plaf/metal/
H A DMetalScrollButton.java115 if ( getDirection() == NORTH ) in paint()
163 else if ( getDirection() == SOUTH ) in paint()
211 else if ( getDirection() == EAST ) in paint()
253 else if ( getDirection() == WEST ) in paint()
302 if ( getDirection() == NORTH ) in getPreferredSize()
306 else if ( getDirection() == SOUTH ) in getPreferredSize()
310 else if ( getDirection() == EAST ) in getPreferredSize()
314 else if ( getDirection() == WEST ) in getPreferredSize()
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/java.desktop/share/classes/javax/swing/plaf/metal/
H A DMetalScrollButton.java115 if ( getDirection() == NORTH ) in paint()
163 else if ( getDirection() == SOUTH ) in paint()
211 else if ( getDirection() == EAST ) in paint()
253 else if ( getDirection() == WEST ) in paint()
302 if ( getDirection() == NORTH ) in getPreferredSize()
306 else if ( getDirection() == SOUTH ) in getPreferredSize()
310 else if ( getDirection() == EAST ) in getPreferredSize()
314 else if ( getDirection() == WEST ) in getPreferredSize()
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/java.desktop/share/classes/javax/swing/plaf/metal/
H A DMetalScrollButton.java115 if ( getDirection() == NORTH ) in paint()
163 else if ( getDirection() == SOUTH ) in paint()
211 else if ( getDirection() == EAST ) in paint()
253 else if ( getDirection() == WEST ) in paint()
302 if ( getDirection() == NORTH ) in getPreferredSize()
306 else if ( getDirection() == SOUTH ) in getPreferredSize()
310 else if ( getDirection() == EAST ) in getPreferredSize()
314 else if ( getDirection() == WEST ) in getPreferredSize()

12345678910>>...87