开发者ID:davidlni,项目名称:FreeCAD,代码行数:23,代码来源: PyObject* BSplineCurvePy::getMultiplicity(PyObject * args) {intindex;if(!PyArg_ParseTuple(args,"i", &index))return0;try{ Handle_Geom_BSplineCurve curve = Handle_Geom_BSplineCurve::DownCast (getGeometryPtr()->handle());intmult ...
Handle_Geom_BSplineCurve curve = Handle_Geom_BSplineCurve::DownCast (getGeometryPtr()->handle()); Standard_Boolean val = curve->IsRational();returnPyBool_FromLong(val ?1:0); } 开发者ID:davidlni,项目名称:FreeCAD,代码行数:9,代码来源:BSplineCurvePyImp.cpp 注:本文中的Handle_Geom_BSpline...
PGeom_BSplineCurve (const Standard_Boolean aRational, const Standard_Boolean aPeriodic, const Standard_Integer aSpineDegree, const Handle< PColgp_HArray1OfPnt > &aPoles, const Handle< PColStd_HArray1OfReal > &aWeights, const Handle< PColStd_HArray1OfReal > &aKnots, const Handle< PCol...
Handle<Geom2d_BSplineCurve> GeomLib_Check2dBSplineCurve::FixedTangent(constStandard_BooleanFirstFlag, constStandard_BooleanLastFlag ) modifies the curve by fixing the first or the last tangencies if Index3D not in the Range [1,Nb3dSpaces] if the Approx is not Done ...
• new Mx3dGeomBSplineCurve(Poles, Weights, Knots, Multiplicities, Degree) 构造函数用于创建一个带权重的B样条曲线。 Parameters NameTypeDescription Poles Mx3dGePoint[] 控制点的数组。 Weights number[] 控制点的权重数组。 Knots number[] 节点序列的数组。 Multiplicities number[] 节点的多重性。
在下文中一共展示了Handle_Geom_BSplineCurve::SetKnots方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。 示例1: setKnots ▲点赞 9▼ PyObject* BSplineCurvePy::setKnots(PyObject * args) ...
在下文中一共展示了Handle_Geom_BSplineCurve::IsPeriodic方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。 示例1: isPeriodic ▲点赞 6▼ PyObject* BSplineCurvePy::isPeriodic(PyObject *args) ...
#include <StepGeom_BSplineCurve.hxx> Inheritance diagram for StepGeom_BSplineCurve: [legend] Public Member Functions StepGeom_BSplineCurve () Returns a BSplineCurve. More... void Init (const Handle< TCollection_HAsciiString > &aName, const Standard_Integer aDegree, const Handle< StepGeom_...
Py::Object BSplineCurvePy::getEndPoint(void)const{Handle_Geom_BSplineCurvec =Handle_Geom_BSplineCurve::DownCast (getGeometryPtr()->handle()); gp_Pnt pnt = c->EndPoint();returnPy::Vector(Base::Vector3d(pnt.X(), pnt.Y(), pnt.Z())); ...
在下文中一共展示了Handle_Geom_BSplineCurve::Resolution方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。 示例1: getResolution ▲点赞 6▼ PyObject* BSplineCurvePy::getResolution(PyObject * args) ...