OCC.AppCont module¶
This package provides the least square algorithmsnecessary to approximate a set of continous curvesor a continous surface.It also provides an instantiation of these algorithmsfor a class Function, a function f(t).The user will have to inherit class Function to use it.-Level : Advanced.All methods of all classes will be advanced.
-
class
AppCont_Function
(*args, **kwargs)¶ Bases:
object
-
D1
()¶ - Returns the derivative at parameter <theU>.
Parameters: - theU (float) –
- theVec2d (NCollection_Array1<gp_Vec2d>) –
- theVec (NCollection_Array1<gp_Vec>) –
Return type:
-
GetNumberOfPoints
()¶ - Get number of 3d and 2d points returned by ‘Value’ and ‘D1’ functions.
Parameters: - theNbPnt (int &) –
- theNbPnt2d (int &) –
Return type:
-
PeriodInformation
()¶ - Return information about peridicity in output paramateters space. @param theDimIdx Defines index in output parameters space. 1 <= theDimIdx <= 3 * myNbPnt + 2 * myNbPnt2d.
Parameters: - Standard_Integer –
- IsPeriodic (bool) –
- thePeriod (float &) –
Return type: void
-
Value
()¶ - Returns the point at parameter <theU>.
Parameters: - theU (float) –
- thePnt2d (NCollection_Array1<gp_Pnt2d>) –
- thePnt (NCollection_Array1<gp_Pnt>) –
Return type:
-
thisown
¶ The membership flag
-
-
class
AppCont_LeastSquare
(*args)¶ Bases:
object
Parameters: Return type: -
Value
()¶ Return type: AppParCurves_MultiCurve
-
thisown
¶ The membership flag
-
-
class
SwigPyIterator
(*args, **kwargs)¶ Bases:
object
-
advance
()¶
-
copy
()¶
-
decr
()¶
-
distance
()¶
-
equal
()¶
-
incr
()¶
-
next
()¶
-
previous
()¶
-
thisown
¶ The membership flag
-
value
()¶
-
-
new_instancemethod
(func, inst, cls)¶
-
register_handle
(handle, base_object)¶ Inserts the handle into the base object to prevent memory corruption in certain cases