Home
last modified time | relevance | path

Searched refs:snapTo (Results 1 – 25 of 49) sorted by relevance

12

/dports/games/trenchbroom/TrenchBroom-ed46601/common/src/View/
H A DSnapBrushVerticesCommand.cpp33 …tr SnapBrushVerticesCommand::snap(const Model::VertexToBrushesMap& vertices, const size_t snapTo) { in snap() argument
39 … return Ptr(new SnapBrushVerticesCommand(brushes, brushVertices, vertexPositions, snapTo)); in snap()
42 …Command::Ptr SnapBrushVerticesCommand::snap(const Model::BrushList& brushes, const size_t snapTo) { in snap() argument
59 … return Ptr(new SnapBrushVerticesCommand(brushes, brushVertices, vertexPositions, snapTo)); in snap()
62 … const Model::BrushVerticesMap& vertices, const Vec3::List& vertexPositions, const size_t snapTo) : in SnapBrushVerticesCommand() argument
66 m_snapTo(snapTo) {} in SnapBrushVerticesCommand()
H A DSnapBrushVerticesCommand.h45 …tatic SnapBrushVerticesCommand::Ptr snap(const Model::VertexToBrushesMap& vertices, size_t snapTo);
46 … static SnapBrushVerticesCommand::Ptr snap(const Model::BrushList& brushes, size_t snapTo);
48 …rushes, const Model::BrushVerticesMap& vertices, const Vec3::List& vertexPositions, size_t snapTo);
/dports/graphics/geos/geos-3.9.1/tests/unit/operation/overlay/snap/
H A DLineStringSnapperTest.cpp65 CoordsVectAptr ret(snapper.snapTo(snpCoords)); in test()
104 CoordsVectAptr ret(snapper.snapTo(snpCoords)); in test()
149 CoordsVectAptr ret(snapper.snapTo(snpCoords)); in test()
186 CoordsVectAptr ret(snapper.snapTo(snpCoords)); in test()
215 CoordsVectAptr ret(snapper.snapTo(snpCoords)); in test()
245 CoordsVectAptr ret(snapper.snapTo(snpCoords)); in test()
283 CoordsVectAptr ret(snapper.snapTo(snpCoords)); in test()
293 ret = snapper.snapTo(snpCoords); in test()
331 CoordsVectAptr ret(snapper.snapTo(snpCoords)); in test()
375 CoordsVectAptr ret(snapper.snapTo(snpCoords)); in test()
H A DGeometrySnapperTest.cpp65 GeomPtr ret(snapper.snapTo(*(snap.get()), 0.000001)); in test()
91 GeomPtr ret(snapper.snapTo(*(snap.get()), 0.000001)); in test()
/dports/math/stp/stp-2.3.3/include/stp/Simplifier/constantBitP/multiplication/
H A DColumnCounts.h73 snapTo(0); in rebuildSums()
81 snapTo(i); in rebuildSums()
115 Result snapTo(int i) in snapTo() function
143 Result snapTo() in snapTo() function
150 r = merge(r, snapTo(i)); in snapTo()
175 Result r = snapTo(); in fixedPoint()
195 assert(snapTo() == NO_CHANGE); in fixedPoint()
/dports/graphics/dilay/dilay-1.9.0/lib/src/tool/
H A Dmove-camera.cpp170 auto snapTo = [&cam](Dimension d, bool forcePositive) { in snap() local
188 snapTo (Dimension::Y, true); in snap()
192 snapTo (Dimension::Z, true); in snap()
196 snapTo (Dimension::X, true); in snap()
200 snapTo (cam.primaryDimension (), false); in snap()
/dports/graphics/geos/geos-3.9.1/src/operation/overlay/snap/
H A DGeometrySnapper.cpp65 unique_ptr<Coordinate::Vect> newPts = snapper.snapTo(snapPts); in snapLine()
107 GeometrySnapper::snapTo(const geom::Geometry& g, double snapTolerance) in snapTo() function in geos::operation::overlay::snap::GeometrySnapper
200 snapGeom.first = snapper0.snapTo(g1, snapTolerance); in snap()
208 snapGeom.second = snapper1.snapTo(*snapGeom.first, snapTolerance); in snap()
/dports/cad/qelectrotech/qet-0.7.0/sources/qetgraphicsitem/
H A Dmasterelement.cpp59 if (!m_Xref_item && xrp.snapTo() == XRefProperties::Bottom) in linkToElement()
142 if(xrp.snapTo() == XRefProperties::Bottom) in xrefPropertiesChanged()
168 if (xrp.snapTo() != XRefProperties::Bottom && m_Xref_item) in aboutDeleteXref()
H A Dcrossrefitem.cpp106 …if(m_properties.snapTo() == XRefProperties::Label && (m_text || m_group)) //Snap to label and pare… in setUpConnection()
108 …else if(m_properties.snapTo() == XRefProperties::Bottom && !m_text && !m_group) //Snap to bottom o… in setUpConnection()
175 …if(m_properties.snapTo() == XRefProperties::Label && (m_text || m_group)) //Snap to label and pare… in updateProperties()
177 …else if((m_properties.snapTo() == XRefProperties::Bottom && !m_text && !m_group)) //Snap to bottom… in updateProperties()
229 if (m_properties.snapTo() == XRefProperties::Bottom) in autoPos()
/dports/math/jts/jts-jts-1.18.1/modules/core/src/main/java/org/locationtech/jts/operation/overlay/snap/
H A DGeometrySnapper.java103 snapGeom[0] = snapper0.snapTo(g1, snapTolerance); in snap()
110 snapGeom[1] = snapper1.snapTo(snapGeom[0], snapTolerance); in snap()
156 public Geometry snapTo(Geometry snapGeom, double snapTolerance) in snapTo() method in GeometrySnapper
259 return snapper.snapTo(snapPts); in snapLine()
H A DSnapOverlayOp.java87 Geometry snapGeom = snapper0.snapTo(geom, snapTolerance); in selfSnap()
/dports/games/trenchbroom/TrenchBroom-ed46601/common/src/Model/
H A DMapFacade.cpp34 bool MapFacade::snapVertices(const size_t snapTo) { in snapVertices() argument
35 return snapVertices(VertexToBrushesMap(), snapTo); in snapVertices()
H A DMapFacade.h106 bool snapVertices(size_t snapTo);
107 virtual bool snapVertices(const VertexToBrushesMap& vertices, size_t snapTo) = 0;
H A DBrush.h144 … bool canSnapVertices(const BBox3& worldBounds, const Vec3::List& vertexPositions, size_t snapTo);
145 …ec3::List snapVertices(const BBox3& worldBounds, const Vec3::List& vertexPositions, size_t snapTo);
/dports/audio/audacity/audacity-Audacity-3.1.3/src/
H A DProjectSelectionManager.cpp61 auto snapTo = settings.GetSnapTo(); in SnapSelection() local
62 if (snapTo != SNAP_OFF) { in SnapSelection()
67 const bool nearest = (snapTo == SNAP_NEAREST); in SnapSelection()
H A DSnap.cpp81 int snapTo = settings.GetSnapTo(); in Reinit() local
86 if (snapTo == mSnapTo && rate == mRate && format == mFormat) in Reinit()
92 mSnapTo = snapTo; in Reinit()
/dports/x11/plasma5-plasma-desktop/plasma-desktop-5.23.5/containments/desktop/package/contents/ui/
H A DConfigOverlay.qml145 function snapIt(snapTo) {
146 if (newRotation > (snapTo - snap) && newRotation < (snapTo + snap)) {
147 newRotation = snapTo;
/dports/graphics/art/ART-1.9.3/rtgui/
H A Dmyflatcurve.cc1092 if (snapTo) { in handleEvents()
1124 if (snapTo) { in handleEvents()
1431 …leftBound = (lit_point == 0 ) ? (periodic && !snapTo ? curve.x.at(nbPoints - 1) - … in movePoint()
1432 …rightBound = (lit_point == nbPoints - 1) ? (periodic && !snapTo ? curve.x.at(0) + 1. … in movePoint()
1445 if (snapTo) { in movePoint()
1518 if (ugpX >= rightDeletionBound && nbPoints > 2 && !snapTo) { in movePoint()
1520 } else if (ugpX <= leftDeletionBound && nbPoints > 2 && !snapTo) { in movePoint()
1540 if (snapTo && curve.x.at(lit_point) != -1) { in movePoint()
1603 if (!snapTo) { in movePoint()
1667 snapTo = false; in getCursorPosition()
[all …]
H A Dmycurve.h89 bool snapTo; variable
/dports/graphics/rawtherapee/rawtherapee-5.8/rtgui/
H A Dmyflatcurve.cc1096 if (snapTo) { in handleEvents()
1128 if (snapTo) { in handleEvents()
1435 …leftBound = (lit_point == 0 ) ? (periodic && !snapTo ? curve.x.at(nbPoints - 1) - … in movePoint()
1436 …rightBound = (lit_point == nbPoints - 1) ? (periodic && !snapTo ? curve.x.at(0) + 1. … in movePoint()
1449 if (snapTo) { in movePoint()
1522 if (ugpX >= rightDeletionBound && nbPoints > 2 && !snapTo) { in movePoint()
1524 } else if (ugpX <= leftDeletionBound && nbPoints > 2 && !snapTo) { in movePoint()
1544 if (snapTo && curve.x.at(lit_point) != -1) { in movePoint()
1607 if (!snapTo) { in movePoint()
1671 snapTo = false; in getCursorPosition()
[all …]
H A Dmycurve.h91 bool snapTo; variable
/dports/graphics/geos/geos-3.9.1/include/geos/operation/overlay/snap/
H A DGeometrySnapper.h100 std::unique_ptr<geom::Geometry> snapTo(const geom::Geometry& g,
H A DLineStringSnapper.h74 std::unique_ptr<geom::Coordinate::Vect> snapTo(const geom::Coordinate::ConstVect& snapPts);
/dports/cad/qelectrotech/qet-0.7.0/sources/properties/
H A Dxrefproperties.h60 SnapTo snapTo () const {return m_snap_to;} in snapTo() function
/dports/x11-wm/icewm/icewm-2.9.4/src/
H A Dmovesize.cc17 void YFrameWindow::snapTo(int &wx, int &wy, in snapTo() function in YFrameWindow
102 void YFrameWindow::snapTo(int &wx, int &wy) { in snapTo() function in YFrameWindow
127 snapTo(xp, yp, mx, my, Mx, My, flags); in snapTo()
145 snapTo(xp, yp, 0, -vo, desktop->width(), desktop->height(), flags); in snapTo()
166 snapTo(xp, yp, rx1, ry1, rx2, ry2, flags); in snapTo()
817 snapTo(x, y); in constrainPositionByModifier()

12