然后可以在算法中直接使用该基本数据(度,周期特征,极点和权重,节点和多重性),或者可以通过调用Geom2d_BSplineCurve、Geom_BSplineCurve和Geom_BSplineSurface类提供的构造函数来构造曲线或曲面。 Geom2dConvert包提供如下: 一个全局函数,用于根据Geom2d包中的2D曲线从有界曲线构造BSpline曲线, 一种分裂算法,它计算应该...
Handle(Geom_BSplineSurface) aPipeSurface = Handle(Geom_BSplineSurface)::DownCast(aPipe.Surface()); Handle(Geom_BSplineSurface) anotherBSplineSurface = GeomConvert::SplitBSplineSurface(aPipeSurface,1,2,3,6); OCC中三维几何曲线的类型有: --线 --园 --椭圆 --二次曲线 --抛物线 --Bezier曲线 ...
GeomAbs_SurfaceType 枚举类型: Enumerator GeomAbs_Plane GeomAbs_Cylinder GeomAbs_Cone GeomAbs_Sphere GeomAbs_Torus GeomAbs_BezierSurface GeomAbs_BSplineSurface GeomAbs_SurfaceOfRevolution GeomAbs_SurfaceOfExtrusion GeomAbs_OffsetSurface GeomAbs_OtherSurface gp_Pnt gp_Pnt P1(0,0,0); gp_Pnt P2(5,...
生成的BSpline 曲线将是C2连续或者二阶连续,除非在一个点上定义了切向约束,在这种情况下,曲线会是C1连续。 这个类可以通过下面的方法实例 GeomAPI_PointsToBSplineApprox(Points,DegMin,DegMax,Continuity,Tol);Handle(Geom_BSplineCurve)K=Approx.Curve(); Surface Approximation曲面近似 GeomAPI包中的PointsToBSpline...
GeomAPI_PointsToBSplineSurface类。 Geom2d_Line类。 主要代码如下:/ P1.SetCoord(35,-200,40); P2.SetCoord(50,-204,30); P3.SetCoord(65,-200,30); P4.SetCoord(35,-20,45); P5.SetCoord(45,-20,30); P6.SetCoord(65,-20,65); TColgp_Array2OfPnt array2(1,3,1,2); array2.Set...
StepGeom_BSplineSurface() Returns a BSplineSurface.More... voidInit(constHandle<TCollection_HAsciiString> &aName, constStandard_IntegeraUDegree, constStandard_IntegeraVDegree, constHandle< StepGeom_HArray2OfCartesianPoint > &aControlPointsList, constStepGeom_BSplineSurfaceFormaSurfaceForm, constStep...
Fixed direction calculation forSelect3D_SensitiveCylindercreated fromGeom_CylindricalSurface. Added support for vertical mouse movement zooming. Enhanced transparency handling for capping in 'Graphic3d_RTM_BLEND_OIT' mode. Fixed selection for simple shapes. ...
Returns the parametric bounds U1, U2, V1 and V2 of this surface. If the surface is infinite, this function can return a value equal toPrecision::Infinite: instead of Standard_Real::LastReal. Implemented inGeom_BSplineSurface,Geom_BezierSurface,ShapeExtend_CompositeSurface,Geom_SurfaceOfRevolution...
virtualHandle<Geom_Geometry> Geom_Geometry::Copy()const pure virtual Creates a new object which is a copy of this geometric object. Implemented inGeom_BSplineSurface,Geom_BSplineCurve,Geom_BezierSurface,Geom_OffsetSurface,Geom_BezierCurve,Geom_RectangularTrimmedSurface,Geom_SurfaceOfRevolution,Geom_Coni...
IGESGeom.hxx /usr/include/opencascade/IGESGeom_Array1OfBoundary.hxx /usr/include/opencascade/IGESGeom_Array1OfCurveOnSurface.hxx /usr/include/opencascade/IGESGeom_Array1OfTransformationMatrix.hxx /usr/include/opencascade/IGESGeom_BSplineCurve.hxx /usr/include/opencascade/IGESGeom_BSplineSurface.hxx...