Home
last modified time | relevance | path

Searched refs:scaledPoint (Results 1 – 19 of 19) sorted by relevance

/dports/audio/geonkick-lv2/geonkick-2.8.0/src/
H A Denvelope.cpp251 scaledPoint = RkPoint(scaledPoint.x() + origin.x(), origin.y() - scaledPoint.y()); in drawPoints()
252 drawPoint(painter, scaledPoint); in drawPoints()
253 scaledPoint = RkPoint(scaledPoint.x(), scaledPoint.y() - 1.4 * getPointRadius()); in drawPoints()
416 if (scaledPoint.y() < 0) in addPoint()
421 if (scaledPoint.x() > 1) { in addPoint()
422 scaledPoint.setX(1); in addPoint()
424 } else if (scaledPoint.x() < 0) { in addPoint()
441 pointAddedEvent(scaledPoint.x(), scaledPoint.y()); in addPoint()
516 RkRealPoint scaledPoint; in scaleDown() local
530 return scaledPoint; in scaleDown()
[all …]
/dports/math/openturns/openturns-1.18/lib/src/Base/Stat/
H A DMaternModel.cxx95 const Scalar scaledPoint = scaledTau.norm(); in computeAsScalar() local
97 if (scaledPoint <= SpecFunc::ScalarEpsilon) in computeAsScalar()
100 …0) * exp(logNormalizationFactor_ + nu_ * std::log(scaledPoint) + SpecFunc::LogBesselK(nu_, scaledP… in computeAsScalar()
106 Scalar scaledPoint = 0; in computeAsScalar() local
112 scaledPoint += dx * dx; in computeAsScalar()
114 scaledPoint = sqrt(scaledPoint); in computeAsScalar()
116 if (scaledPoint <= SpecFunc::ScalarEpsilon) in computeAsScalar()
119 …0) * exp(logNormalizationFactor_ + nu_ * std::log(scaledPoint) + SpecFunc::LogBesselK(nu_, scaledP… in computeAsScalar()
128 const Scalar scaledPoint = std::abs(tau * sqrt2nuOverTheta_[0]); in computeAsScalar() local
130 if (scaledPoint <= SpecFunc::ScalarEpsilon) in computeAsScalar()
[all …]
/dports/games/scummvm/scummvm-2.5.1/engines/stark/visual/
H A Dimage.cpp164 Common::Point scaledPoint; in isPointSolid() local
165 scaledPoint.x = point.x * _surface->w / _originalWidth; in isPointSolid()
166 scaledPoint.y = point.y * _surface->h / _originalHeight; in isPointSolid()
167 scaledPoint.x = CLIP<uint16>(scaledPoint.x, 0, _surface->w); in isPointSolid()
168 scaledPoint.y = CLIP<uint16>(scaledPoint.y, 0, _surface->h); in isPointSolid()
171 const byte *ptr = (const byte *) _surface->getBasePtr(scaledPoint.x, scaledPoint.y); in isPointSolid()
H A Dsmacker.cpp159 Common::Point scaledPoint; in isPointSolid() local
160 scaledPoint.x = point.x * _surface->w / _originalWidth; in isPointSolid()
161 scaledPoint.y = point.y * _surface->h / _originalHeight; in isPointSolid()
162 scaledPoint.x = CLIP<uint16>(scaledPoint.x, 0, _surface->w); in isPointSolid()
163 scaledPoint.y = CLIP<uint16>(scaledPoint.y, 0, _surface->h); in isPointSolid()
165 const byte *ptr = (const byte *)_surface->getBasePtr(scaledPoint.x, scaledPoint.y); in isPointSolid()
/dports/graphics/osg34/OpenSceneGraph-OpenSceneGraph-3.4.1/src/osgManipulator/
H A DConstraint.cpp114 …double scaledPoint = (command.getReferencePoint() - command.getScaleCenter()) * command.getScale()… in constrain() local
120 …double spacingFactor = commandSpacing[0] ? round_to_nearest_int((scaledPoint-commandOrigin[0])/com… in constrain()
139 osg::Vec2d scaledPoint = command.getReferencePoint() - command.getScaleCenter(); in constrain() local
140 scaledPoint[0] *= command.getScale()[0]; in constrain()
141 scaledPoint[1] *= command.getScale()[1]; in constrain()
142 scaledPoint += command.getScaleCenter(); in constrain()
149 …spacingFactor[0] = commandSpacing[0] ? round_to_nearest_int((scaledPoint[0] - commandOrigin[0])/co… in constrain()
150 …spacingFactor[1] = commandSpacing[2] ? round_to_nearest_int((scaledPoint[1] - commandOrigin[2])/co… in constrain()
/dports/graphics/osg/OpenSceneGraph-OpenSceneGraph-3.6.5/src/osgManipulator/
H A DConstraint.cpp114 …double scaledPoint = (command.getReferencePoint() - command.getScaleCenter()) * command.getScale()… in constrain() local
120 …double spacingFactor = commandSpacing[0] ? round_to_nearest_int((scaledPoint-commandOrigin[0])/com… in constrain()
139 osg::Vec2d scaledPoint = command.getReferencePoint() - command.getScaleCenter(); in constrain() local
140 scaledPoint[0] *= command.getScale()[0]; in constrain()
141 scaledPoint[1] *= command.getScale()[1]; in constrain()
142 scaledPoint += command.getScaleCenter(); in constrain()
149 …spacingFactor[0] = commandSpacing[0] ? round_to_nearest_int((scaledPoint[0] - commandOrigin[0])/co… in constrain()
150 …spacingFactor[1] = commandSpacing[2] ? round_to_nearest_int((scaledPoint[1] - commandOrigin[2])/co… in constrain()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/
H A DDPIUtil.java178 Point scaledPoint = new Point (0,0); in autoScaleDown() local
179 scaledPoint.x = Math.round (point.x / scaleFactor); in autoScaleDown()
180 scaledPoint.y = Math.round (point.y / scaleFactor); in autoScaleDown()
181 return scaledPoint; in autoScaleDown()
338 Point scaledPoint = new Point (0,0); in autoScaleUp() local
339 scaledPoint.x = Math.round (point.x * scaleFactor); in autoScaleUp()
340 scaledPoint.y = Math.round (point.y * scaleFactor); in autoScaleUp()
341 return scaledPoint; in autoScaleUp()
/dports/x11-toolkits/swt/swt-4.20/org/eclipse/swt/internal/
H A DDPIUtil.java178 Point scaledPoint = new Point (0,0); in autoScaleDown() local
179 scaledPoint.x = Math.round (point.x / scaleFactor); in autoScaleDown()
180 scaledPoint.y = Math.round (point.y / scaleFactor); in autoScaleDown()
181 return scaledPoint; in autoScaleDown()
338 Point scaledPoint = new Point (0,0); in autoScaleUp() local
339 scaledPoint.x = Math.round (point.x * scaleFactor); in autoScaleUp()
340 scaledPoint.y = Math.round (point.y * scaleFactor); in autoScaleUp()
341 return scaledPoint; in autoScaleUp()
/dports/devel/love08/love-0.8.0/src/modules/physics/box2d/
H A DWorld.cpp190 b2Vec2 scaledPoint = Physics::scaleUp(point); in ReportFixture() local
191 lua_pushnumber(L, scaledPoint.x); in ReportFixture()
192 lua_pushnumber(L, scaledPoint.y); in ReportFixture()
/dports/devel/love10/love-0.10.2/src/modules/physics/box2d/
H A DWorld.cpp188 b2Vec2 scaledPoint = Physics::scaleUp(point); in ReportFixture() local
189 lua_pushnumber(L, scaledPoint.x); in ReportFixture()
190 lua_pushnumber(L, scaledPoint.y); in ReportFixture()
/dports/devel/love/love-11.3/src/modules/physics/box2d/
H A DWorld.cpp195 b2Vec2 scaledPoint = Physics::scaleUp(point); in ReportFixture() local
196 lua_pushnumber(L, scaledPoint.x); in ReportFixture()
197 lua_pushnumber(L, scaledPoint.y); in ReportFixture()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/devtools-frontend/src/test/unittests/front_end/ui/
H A DGeometry_test.ts60 const scaledPoint = point.scale(2); constant
61 assert.strictEqual(scaledPoint.x, 2, 'x was not scaled correctly');
62 assert.strictEqual(scaledPoint.y, 4, 'y was not scaled correctly');
/dports/graphics/tiled/tiled-1.7.2/src/tiled/
H A Dobjectselectiontool.cpp1468 const QPointF scaledPoint(rotPoint.x() * scale, rotPoint.y() * scale); in updateResizingItems() local
1469 const QPointF newPoint(scaledPoint.x() * cs - scaledPoint.y() * sn, in updateResizingItems()
1470 scaledPoint.y() * cs + scaledPoint.x() * sn); in updateResizingItems()
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/OgreMain/src/
H A DOgreStaticGeometry.cpp201 Vector3 scaledPoint = (point - mOrigin) / mRegionDimensions; in getRegionIndexes() local
204 int ix = Math::IFloor(scaledPoint.x); in getRegionIndexes()
205 int iy = Math::IFloor(scaledPoint.y); in getRegionIndexes()
206 int iz = Math::IFloor(scaledPoint.z); in getRegionIndexes()
H A DOgreInstancedGeometry.cpp235 Vector3 scaledPoint = (point - mOrigin) / mBatchInstanceDimensions; in getBatchInstanceIndexes() local
238 int ix = Math::IFloor(scaledPoint.x); in getBatchInstanceIndexes()
239 int iy = Math::IFloor(scaledPoint.y); in getBatchInstanceIndexes()
240 int iz = Math::IFloor(scaledPoint.z); in getBatchInstanceIndexes()
/dports/graphics/ogre3d/ogre-1.11.6/OgreMain/src/
H A DOgreStaticGeometry.cpp193 Vector3 scaledPoint = (point - mOrigin) / mRegionDimensions; in getRegionIndexes() local
196 int ix = Math::IFloor(scaledPoint.x); in getRegionIndexes()
197 int iy = Math::IFloor(scaledPoint.y); in getRegionIndexes()
198 int iz = Math::IFloor(scaledPoint.z); in getRegionIndexes()
/dports/misc/usd/USD-21.11/pxr/base/gf/
H A Dfrustum.cpp699 GfVec2d scaledPoint = .5 * (GfVec2d(1.0, 1.0) + point); in ComputeNarrowedFrustum() local
700 GfVec2d windowPoint = _window.GetMin() + GfCompMult(scaledPoint, in ComputeNarrowedFrustum()
/dports/devel/hs-haskell-language-server/haskell-language-server-1.4.0/_cabal_deps/hlint-3.2.7/data/
H A Dhlint.yaml1011 - hint: {lhs: scaledPoint x x, rhs: dilatedPoint x}
/dports/devel/hs-hlint/hlint-3.3.4/data/
H A Dhlint.yaml1038 - hint: {lhs: scaledPoint x x, rhs: dilatedPoint x}