/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/surface/src/on_nurbs/ |
H A D | triangulation.cpp | 169 if (nurbs.KnotCount (0) <= 1 || nurbs.KnotCount (1) <= 1) in convertSurface2PolygonMesh() 176 double x1 = nurbs.Knot (0, nurbs.KnotCount (0) - 1); in convertSurface2PolygonMesh() 179 double y1 = nurbs.Knot (1, nurbs.KnotCount (1) - 1); in convertSurface2PolygonMesh() 205 if (nurbs.KnotCount (0) <= 1 || nurbs.KnotCount (1) <= 1 || curve.KnotCount () <= 1) in convertTrimmedSurface2PolygonMesh() 214 double x1 = nurbs.Knot (0, nurbs.KnotCount (0) - 1); in convertTrimmedSurface2PolygonMesh() 217 double y1 = nurbs.Knot (1, nurbs.KnotCount (1) - 1); in convertTrimmedSurface2PolygonMesh() 326 if (nurbs.KnotCount (0) <= 1 || nurbs.KnotCount (1) <= 1 || curve.KnotCount () <= 1) in convertTrimmedSurface2PolygonMesh() 335 double x1 = nurbs.Knot (0, nurbs.KnotCount (0) - 1); in convertTrimmedSurface2PolygonMesh() 338 double y1 = nurbs.Knot (1, nurbs.KnotCount (1) - 1); in convertTrimmedSurface2PolygonMesh() 458 if (nurbs.KnotCount (0) <= 1 || nurbs.KnotCount (1) <= 1) in convertSurface2Vertices() [all …]
|
H A D | closing_boundary.cpp | 230 double maxU = nurbs->Knot (0, nurbs->KnotCount (0) - 1); in sampleUniform() 232 double maxV = nurbs->Knot (1, nurbs->KnotCount (1) - 1); in sampleUniform() 255 double maxU = nurbs->Knot (0, nurbs->KnotCount (0) - 1); in sampleRandom() 257 double maxV = nurbs->Knot (1, nurbs->KnotCount (1) - 1); in sampleRandom() 280 double maxU = nurbs->Knot (0, nurbs->KnotCount (0) - 1); in sampleFromBoundary() 282 double maxV = nurbs->Knot (1, nurbs->KnotCount (1) - 1); in sampleFromBoundary()
|
H A D | fitting_surface_im.cpp | 134 int idx_max = nurbs.KnotCount (dim) - 1; in getElementVector() 138 idx_max = nurbs.KnotCount (dim) - nurbs.Order (dim) + 1; in getElementVector() 179 Eigen::Vector2d bbx (m_nurbs.Knot (0, 0), m_nurbs.Knot (0, m_nurbs.KnotCount (0) - 1)); in refine() 180 Eigen::Vector2d bby (m_nurbs.Knot (1, 0), m_nurbs.Knot (1, m_nurbs.KnotCount (1) - 1)); in refine() 229 for (int i = 0; i < m_nurbs.KnotCount (0); i++) in initSurface() 235 for (int i = 0; i < m_nurbs.KnotCount (1); i++) in initSurface()
|
H A D | fitting_sphere_pdm.cpp | 252 int idx_max = nurbs.KnotCount (0) - 1; in getElementVector() 256 idx_max = nurbs.KnotCount (0) - nurbs.Order (0) + 1; in getElementVector() 276 int idx_max = nurbs.KnotCount (1) - 1; in getElementVector() 280 idx_max = nurbs.KnotCount (1) - nurbs.Order (1) + 1; in getElementVector()
|
H A D | fitting_cylinder_pdm.cpp | 351 int idx_max = nurbs.KnotCount (0) - 1; in getElementVector() 355 idx_max = nurbs.KnotCount (0) - nurbs.Order (0) + 1; in getElementVector() 375 int idx_max = nurbs.KnotCount (1) - 1; in getElementVector() 379 idx_max = nurbs.KnotCount (1) - nurbs.Order (1) + 1; in getElementVector()
|
H A D | fitting_surface_pdm.cpp | 254 int idx_max = nurbs.KnotCount (dim) - 1; in getElementVector() 258 idx_max = nurbs.KnotCount (dim) - nurbs.Order (dim) + 1; in getElementVector()
|
H A D | fitting_curve_2d.cpp | 335 double delta = 1.0 / (nurbs.KnotCount () - 3); in initNurbsPCA()
|
/dports/cad/opencascade/opencascade-7.6.0/src/GeomLib/ |
H A D | GeomLib_CheckCurveOnSurface.cxx | 496 Standard_Integer KnotCount; in FillSubIntervals() local 500 KnotCount = 0; in FillSubIntervals() 506 ++KnotCount; in FillSubIntervals() 509 KnotCount += 2; in FillSubIntervals() 513 KnotCount = aBS3DCurv->LastUKnotIndex() - aBS3DCurv->FirstUKnotIndex() + 1; in FillSubIntervals() 515 if(KnotCount <= aMaxKnots) in FillSubIntervals() 546 Standard_Integer KnotCount; in FillSubIntervals() local 550 KnotCount = 0; in FillSubIntervals() 556 ++KnotCount; in FillSubIntervals() 559 KnotCount += 2; in FillSubIntervals() [all …]
|
/dports/math/gismo/gismo-21.12.0/plugins/RhinoTHBSplines/GismoSupport/ |
H A D | ThbSurfaceUtils.cpp | 84 uKnots.reserve(2 + ns.KnotCount(0)); in FromSurface() 86 for (int i = 0; i < ns.KnotCount(0); ++i) in FromSurface() 90 uKnots.push_back(ns.Knot(0, ns.KnotCount(0) - 1)); in FromSurface() 93 vKnots.reserve(2 + ns.KnotCount(1)); in FromSurface() 95 for (int i = 0; i < ns.KnotCount(1); ++i) in FromSurface() 99 vKnots.push_back(ns.Knot(1, ns.KnotCount(1) - 1)); in FromSurface()
|
H A D | RefineNurbsCommandImplementation.cpp | 18 for (int i = 0; i < s->KnotCount(direction); ++i) in SurfaceContainsKnot() 63 for(int i = 0, j = 0; i < m_srf->KnotCount(dir); ++j) in AddLineAtSelectedPoint()
|
/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/surface/src/3rdparty/opennurbs/ |
H A D | opennurbs_nurbssurface.cpp | 154 const int knot_count = KnotCount(dir); in SetDomain() 208 int ON_NurbsSurface::KnotCount( int dir ) const in KnotCount() function in ON_NurbsSurface 303 if ( !ReserveKnotCapacity( 1, KnotCount(1) ) ) in Create() 482 const int knot_count = KnotCount(j); in operator =() 678 int count = m_knot[0] ? KnotCount(0) : 0; in Write() 682 count = m_knot[1] ? KnotCount(1) : 0; in Write() 2119 ReserveKnotCapacity(dir,KnotCount(dir)); in SetClampedGrevilleKnotVector() 2131 ReserveKnotCapacity(dir,KnotCount(dir)); in SetPeriodicGrevilleKnotVector() 2190 const int knot_count = srf.KnotCount(dir); in ConvertToCurve() 2640 int knot_countA = nurbs_curveA.KnotCount(); in ON_MakeKnotVectorsCompatible() [all …]
|
H A D | opennurbs_nurbsvolume.cpp | 134 rc = archive.ReadDouble(KnotCount(0),m_knot[0]); in Read() 136 rc = archive.ReadDouble(KnotCount(1),m_knot[1]); in Read() 138 rc = archive.ReadDouble(KnotCount(2),m_knot[2]); in Read() 191 rc = archive.WriteDouble(KnotCount(0),m_knot[0]); in Write() 193 rc = archive.WriteDouble(KnotCount(1),m_knot[1]); in Write() 195 rc = archive.WriteDouble(KnotCount(2),m_knot[2]); in Write() 403 int ON_NurbsCage::KnotCount(int dir) const in KnotCount() function in ON_NurbsCage 514 sz += (KnotCount(0) + KnotCount(1) + KnotCount(2) + CVSize()*CVCount())*sizeof(double); in SizeOf() 586 memcpy( m_knot[0], src.m_knot[0], KnotCount(0)*sizeof(m_knot[0][0])); in operator =() 588 memcpy( m_knot[1], src.m_knot[1], KnotCount(1)*sizeof(m_knot[1][0])); in operator =() [all …]
|
H A D | opennurbs_nurbscurve.cpp | 139 int ON_NurbsCurve::KnotCount( void ) const in KnotCount() function in ON_NurbsCurve 262 bool rc = ReserveKnotCapacity( KnotCount() ); in Create() 310 dest.ReserveKnotCapacity( dest.KnotCount() ); in ON_NurbsCurveCopyHelper() 360 const int knot_count = KnotCount(); in operator =() 675 ? KnotCount() in Write() 785 const int knot_count = KnotCount(); in SetDomain() 1145 const int knotcount = KnotCount(); in IsArc() 2754 int new_kcount = M.KnotCount() + span_count + 1; in IncrementNurbDegree() 2818 int new_kcount = KnotCount()+(span_count+1)*del; in IncreaseDegree() 2957 const int c_knot_count = c.KnotCount(); in Append() [all …]
|
H A D | opennurbs_cylinder.cpp | 240 for ( i = 0; i < n0.KnotCount(); i++ ) in GetNurbForm()
|
H A D | opennurbs_gl.cpp | 290 GLint sknot_count = s.KnotCount(0) + 2; in ON_GL() 296 GLint tknot_count = s.KnotCount(1) + 2; in ON_GL()
|
H A D | opennurbs_arccurve.cpp | 957 if( ki+2>= crv.KnotCount()) in GetNurbFormParameterFromRadian()
|
/dports/math/gismo/gismo-21.12.0/external/onurbs/ |
H A D | opennurbs_nurbssurface.cpp | 154 const int knot_count = KnotCount(dir); in SetDomain() 208 int ON_NurbsSurface::KnotCount( int dir ) const in KnotCount() function in ON_NurbsSurface 303 if ( !ReserveKnotCapacity( 1, KnotCount(1) ) ) in Create() 482 const int knot_count = KnotCount(j); in operator =() 678 int count = m_knot[0] ? KnotCount(0) : 0; in Write() 682 count = m_knot[1] ? KnotCount(1) : 0; in Write() 2124 ReserveKnotCapacity(dir,KnotCount(dir)); in SetClampedGrevilleKnotVector() 2136 ReserveKnotCapacity(dir,KnotCount(dir)); in SetPeriodicGrevilleKnotVector() 2195 const int knot_count = srf.KnotCount(dir); in ConvertToCurve() 2648 int knot_countA = nurbs_curveA.KnotCount(); in ON_MakeKnotVectorsCompatible() [all …]
|
H A D | opennurbs_nurbsvolume.cpp | 132 rc = archive.ReadDouble(KnotCount(0),m_knot[0]); in Read() 134 rc = archive.ReadDouble(KnotCount(1),m_knot[1]); in Read() 136 rc = archive.ReadDouble(KnotCount(2),m_knot[2]); in Read() 189 rc = archive.WriteDouble(KnotCount(0),m_knot[0]); in Write() 191 rc = archive.WriteDouble(KnotCount(1),m_knot[1]); in Write() 193 rc = archive.WriteDouble(KnotCount(2),m_knot[2]); in Write() 401 int ON_NurbsCage::KnotCount(int dir) const in KnotCount() function in ON_NurbsCage 512 sz += (KnotCount(0) + KnotCount(1) + KnotCount(2) + CVSize()*CVCount())*sizeof(double); in SizeOf() 584 memcpy( m_knot[0], src.m_knot[0], KnotCount(0)*sizeof(m_knot[0][0])); in operator =() 586 memcpy( m_knot[1], src.m_knot[1], KnotCount(1)*sizeof(m_knot[1][0])); in operator =() [all …]
|
H A D | opennurbs_nurbscurve.cpp | 138 int ON_NurbsCurve::KnotCount( void ) const in KnotCount() function in ON_NurbsCurve 261 bool rc = ReserveKnotCapacity( KnotCount() ); in Create() 309 dest.ReserveKnotCapacity( dest.KnotCount() ); in ON_NurbsCurveCopyHelper() 359 const int knot_count = KnotCount(); in operator =() 674 ? KnotCount() in Write() 784 const int knot_count = KnotCount(); in SetDomain() 1144 const int knotcount = KnotCount(); in IsArc() 2380 int new_kcount = M.KnotCount() + span_count + 1; in IncrementNurbDegree() 2444 int new_kcount = KnotCount()+(span_count+1)*del; in IncreaseDegree() 2583 const int c_knot_count = c.KnotCount(); in Append() [all …]
|
H A D | opennurbs_nurbssurface.h | 679 int KnotCount( // total number of knots in knot vector 1515 int KnotCount( // total number of knots in knot vector
|
H A D | opennurbs_nurbscurve.h | 733 int KnotCount( // total number of knots in knot vector
|
H A D | opennurbs_cylinder.cpp | 240 for ( i = 0; i < n0.KnotCount(); i++ ) in GetNurbForm()
|
H A D | opennurbs_gl.cpp | 290 GLint sknot_count = s.KnotCount(0) + 2; in ON_GL() 296 GLint tknot_count = s.KnotCount(1) + 2; in ON_GL()
|
/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/surface/include/pcl/surface/3rdparty/opennurbs/ |
H A D | opennurbs_nurbssurface.h | 681 int KnotCount( // total number of knots in knot vector 1517 int KnotCount( // total number of knots in knot vector
|
H A D | opennurbs_nurbscurve.h | 735 int KnotCount( // total number of knots in knot vector
|