/dports/science/opensph/sph-7de6c044339f649e3d19e61f735a6a24572b792a/core/math/ |
H A D | Curve.h | 8 struct CurvePoint { struct 12 bool operator==(const CurvePoint& other) const { argument 23 Array<std::pair<CurvePoint, bool>> points; 35 Curve(Array<CurvePoint>&& curve); 48 const CurvePoint& getPoint(const Size idx) const; 51 void setPoint(const Size idx, const CurvePoint& newPoint); 56 void addPoint(const CurvePoint& newPoint); 76 Float linear(const CurvePoint& p1, const CurvePoint& p2, const Float x) const; 78 Float cubic(const CurvePoint& p1, 79 const CurvePoint& p2,
|
H A D | Curve.cpp | 48 static Float getDist(const CurvePoint& p1, const CurvePoint& p2) { in getDist() 52 static Float getDerivative(const CurvePoint& p1, const CurvePoint& p2) { in getDerivative() 56 static Float getDerivative(const CurvePoint& p0, const CurvePoint& p1, const CurvePoint& p2) { in getDerivative() 78 Curve::Curve(Array<CurvePoint>&& curve) { in Curve() 99 const CurvePoint& Curve::getPoint(const Size idx) const { in getPoint() 108 void Curve::addPoint(const CurvePoint& newPoint) { in addPoint() 112 [](const std::pair<CurvePoint, bool>& p, const CurvePoint& q) { return p.first.x < q.x; }); in addPoint() argument 194 Float Curve::linear(const CurvePoint& p1, const CurvePoint& p2, const Float x) const { in linear() 198 Float Curve::cubic(const CurvePoint& p1, in cubic() 199 const CurvePoint& p2, in cubic() [all …]
|
/dports/graphics/blender/blender-2.91.0/source/blender/freestyle/intern/stroke/ |
H A D | Curve.cpp | 41 CurvePoint::CurvePoint() in CurvePoint() function in Freestyle::CurvePoint 48 CurvePoint::CurvePoint(SVertex *iA, SVertex *iB, float t) in CurvePoint() function in Freestyle::CurvePoint 67 CurvePoint::CurvePoint(CurvePoint *iA, CurvePoint *iB, float t3) in CurvePoint() function in Freestyle::CurvePoint 176 CurvePoint::CurvePoint(const CurvePoint &iBrother) in CurvePoint() function in Freestyle::CurvePoint 185 CurvePoint &CurvePoint::operator=(const CurvePoint &iBrother) in operator =() 195 FEdge *CurvePoint::fedge() in fedge() 205 CurvePoint *iVertexB = dynamic_cast<CurvePoint *>(&inter); in getFEdge() 290 Vec3r CurvePoint::normal() const in normal() 312 Material CurvePoint::material() const 320 Id CurvePoint::shape_id() const [all …]
|
H A D | Curve.h | 62 class CurvePoint : public Interface0D { 208 CurvePoint(); 218 CurvePoint(SVertex *iA, SVertex *iB, float t); 228 CurvePoint(CurvePoint *iA, CurvePoint *iB, float t); 233 CurvePoint(const CurvePoint &iBrother); 236 CurvePoint &operator=(const CurvePoint &iBrother); 239 virtual ~CurvePoint() in ~CurvePoint() 244 bool operator==(const CurvePoint &b) 379 typedef CurvePoint Vertex; 380 typedef CurvePoint Point;
|
H A D | CurveAdvancedIterators.h | 31 class CurvePoint_const_traits : public Const_traits<CurvePoint *> { 33 typedef deque<CurvePoint *> vertex_container; 38 class CurvePoint_nonconst_traits : public Nonconst_traits<CurvePoint *> { 40 typedef deque<CurvePoint *> vertex_container; 62 typedef CurvePoint Point; 71 typedef CurvePoint<Vertex> Point; 77 typedef bidirectional_iterator<CurvePoint<Vertex>, ptrdiff_t> bidirectional_point_iterator; 79 typedef iterator<bidirectional_iterator_tag, CurvePoint<Vertex>, ptrdiff_t>
|
H A D | CurveIterators.h | 50 mutable CurvePoint _Point; 166 virtual CurvePoint &operator*() 168 return (_Point = CurvePoint(*__A, *__B, _t)); 171 virtual CurvePoint *operator->()
|
H A D | Stroke.cpp | 345 StrokeVertex::StrokeVertex() : CurvePoint() in StrokeVertex() 351 StrokeVertex::StrokeVertex(const StrokeVertex &iBrother) : CurvePoint(iBrother) in StrokeVertex() 358 StrokeVertex::StrokeVertex(SVertex *iSVertex) : CurvePoint(iSVertex, 0, 0.0f) in StrokeVertex() 364 StrokeVertex::StrokeVertex(CurvePoint *iPoint) : CurvePoint(*iPoint) in StrokeVertex() 370 StrokeVertex::StrokeVertex(StrokeVertex *iA, StrokeVertex *iB, float t3) : CurvePoint(iA, iB, t3) in StrokeVertex() 379 : CurvePoint(iSVertex, 0, 0.0f) in StrokeVertex() 392 ((CurvePoint *)this)->operator=(iBrother); in operator =()
|
H A D | Chain.cpp | 55 CurvePoint *cp = in push_viewedge_back() 119 CurvePoint *cp = in push_viewedge_front()
|
H A D | Operators.cpp | 518 CurvePoint *point; in sequentialSplit() 535 point = dynamic_cast<CurvePoint *>(&(*it)); in sequentialSplit() 539 point = dynamic_cast<CurvePoint *>(&(*it)); in sequentialSplit() 602 CurvePoint *point; in sequentialSplit() 625 point = dynamic_cast<CurvePoint *>(&(*itStart)); in sequentialSplit() 628 point = dynamic_cast<CurvePoint *>(&(*itStop)); in sequentialSplit() 640 point = dynamic_cast<CurvePoint *>(&(*itStop)); in sequentialSplit() 1097 CurvePoint *cp; in createStroke() 1102 cp = dynamic_cast<CurvePoint *>(&(*it)); in createStroke() 1129 cp = dynamic_cast<CurvePoint *>(&(*it)); in createStroke()
|
/dports/devel/etl/synfig-1.2.2/synfig-core/src/synfig/ |
H A D | curveset.h | 42 struct CurvePoint struct 47 CurvePoint () {} in CurvePoint() function 48 CurvePoint(const Point &pin, const Vector &left, const Vector &right); 50 CurvePoint(const BLinePoint &bpoint); 60 typedef std::vector<CurvePoint> region; 75 set.push_back(std::vector<CurvePoint>(begin,end)); in invert()
|
H A D | curveset.cpp | 64 CurvePoint::CurvePoint(const Point &pin, const Vector &left, const Vector &right) in CurvePoint() function in CurvePoint 69 CurvePoint::CurvePoint(const BLinePoint &bpoint) in CurvePoint() function in CurvePoint 377 CurvePoint cp; in ConstructSet() 475 const vector<CurvePoint> &curve = set[ci]; in intersect()
|
/dports/graphics/synfig/synfig-1.2.2/synfig-core/src/synfig/ |
H A D | curveset.h | 42 struct CurvePoint struct 47 CurvePoint () {} in CurvePoint() function 48 CurvePoint(const Point &pin, const Vector &left, const Vector &right); 50 CurvePoint(const BLinePoint &bpoint); 60 typedef std::vector<CurvePoint> region; 75 set.push_back(std::vector<CurvePoint>(begin,end)); in invert()
|
H A D | curveset.cpp | 64 CurvePoint::CurvePoint(const Point &pin, const Vector &left, const Vector &right) in CurvePoint() function in CurvePoint 69 CurvePoint::CurvePoint(const BLinePoint &bpoint) in CurvePoint() function in CurvePoint 377 CurvePoint cp; in ConstructSet() 475 const vector<CurvePoint> &curve = set[ci]; in intersect()
|
/dports/graphics/synfigstudio/synfig-1.2.2/synfig-core/src/synfig/ |
H A D | curveset.h | 42 struct CurvePoint struct 47 CurvePoint () {} in CurvePoint() argument 48 CurvePoint(const Point &pin, const Vector &left, const Vector &right); 50 CurvePoint(const BLinePoint &bpoint); 60 typedef std::vector<CurvePoint> region; 75 set.push_back(std::vector<CurvePoint>(begin,end)); in invert()
|
H A D | curveset.cpp | 64 CurvePoint::CurvePoint(const Point &pin, const Vector &left, const Vector &right) in CurvePoint() function in CurvePoint 69 CurvePoint::CurvePoint(const BLinePoint &bpoint) in CurvePoint() function in CurvePoint 377 CurvePoint cp; in ConstructSet() 475 const vector<CurvePoint> &curve = set[ci]; in intersect()
|
/dports/graphics/py-pyqtgraph/pyqtgraph-0.12.3/doc/source/graphicsItems/ |
H A D | curvepoint.rst | 1 CurvePoint chapter 4 .. autoclass:: pyqtgraph.CurvePoint 7 .. automethod:: pyqtgraph.CurvePoint.__init__
|
/dports/graphics/blender/blender-2.91.0/source/blender/freestyle/intern/python/Interface0D/ |
H A D | BPy_CurvePoint.cpp | 80 self->cp = new CurvePoint(); in CurvePoint_init() 83 self->cp = new CurvePoint(*(((BPy_CurvePoint *)obj1)->cp)); in CurvePoint_init() 96 self->cp = new CurvePoint(((BPy_SVertex *)obj1)->sv, ((BPy_SVertex *)obj2)->sv, t2d); in CurvePoint_init() 108 CurvePoint *cp1 = ((BPy_CurvePoint *)obj1)->cp; in CurvePoint_init() 109 CurvePoint *cp2 = ((BPy_CurvePoint *)obj2)->cp; in CurvePoint_init() 118 self->cp = new CurvePoint(cp1, cp2, t2d); in CurvePoint_init()
|
/dports/science/opensph/sph-7de6c044339f649e3d19e61f735a6a24572b792a/core/run/ |
H A D | SpecialEntries.cpp | 8 const CurvePoint p = curve.getPoint(i); in toString() 19 Array<CurvePoint> points; in fromString() 22 CurvePoint p; in fromString()
|
/dports/science/opensph/sph-7de6c044339f649e3d19e61f735a6a24572b792a/gui/windows/ |
H A D | CurveDialog.cpp | 48 const float y = float(curveToWindow<wxPoint2DDouble, double>(CurvePoint{ 0.f, f }).m_y); in onPaint() 100 CurvePoint curvePos = windowToCurve(mousePosition); in onPaint() 122 CurvePoint newPos = windowToCurve(evt.GetPosition()); in onMouseMotion() 134 const CurvePoint newPos = windowToCurve(mousePosition); in onLeftDown() 156 TPoint CurvePanel::curveToWindow(const CurvePoint& p) const { 165 CurvePoint CurvePanel::windowToCurve(const wxPoint2DDouble p) const { in windowToCurve() 169 return CurvePoint{ float((p.m_x - padding) * rangeX.size() / size.x + rangeX.lower()), in windowToCurve() 188 CurvePoint m = windowToCurve(mousePos); in getSegment()
|
H A D | CurveDialog.h | 54 TPoint curveToWindow(const CurvePoint& p) const; 56 CurvePoint windowToCurve(const wxPoint2DDouble p) const;
|
/dports/graphics/instant-meshes/instant-meshes-0.0-42-g4a083f4/src/ |
H A D | smoothcurve.h | 20 struct CurvePoint { struct 29 std::vector<CurvePoint> &curve, bool watertight = false); argument
|
H A D | smoothcurve.cpp | 22 bool smooth_curve(const BVH *bvh, const VectorXu &E2E, std::vector<CurvePoint> &curve, bool waterti… in smooth_curve() 27 std::vector<CurvePoint> curve_new; in smooth_curve() 56 CurvePoint pt; in smooth_curve() 91 CurvePoint pt2; in smooth_curve()
|
/dports/graphics/py-pyqtgraph/pyqtgraph-0.12.3/pyqtgraph/graphicsItems/ |
H A D | CurvePoint.py | 10 class CurvePoint(GraphicsObject): class 107 class CurveArrow(CurvePoint): 112 CurvePoint.__init__(self, curve, index=index, pos=pos)
|
/dports/x11/eaglemode/eaglemode-0.95.0/include/emCore/ |
H A D | emViewAnimator.h | 366 struct CurvePoint { struct 407 static CurvePoint GetCurvePoint(double d); 427 static const CurvePoint CurvePoints[];
|
/dports/games/edge/Edge-1.35-source/src/ |
H A D | r_shader.cc | 82 rgbcol_t CurvePoint(float d, rgbcol_t tint) in CurvePoint() function in light_image_c 262 rgbcol_t new_col = lim[DL]->CurvePoint(dist / WhatRadius(DL), in Sample() 319 rgbcol_t new_col = lim[DL]->CurvePoint(dist / WhatRadius(DL), in Corner() 466 rgbcol_t new_col = lim[DL]->CurvePoint(dist / WhatRadius(DL), in Sample() 516 rgbcol_t new_col = lim[DL]->CurvePoint(dist / WhatRadius(DL), in Corner() 742 rgbcol_t new_col = lim[DL]->CurvePoint(d / WhatRadius(DL),
|