OCC.Core.AppCont module

AppCont module, see official documentation at https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_appcont.html

class AppCont_Function(*args, **kwargs)

Bases: object

D1()
  • Returns the derivative at parameter <theU>.
    param theU

    type theU

    float

    param theVec2d

    type theVec2d

    NCollection_Array1<gp_Vec2d>

    param theVec

    type theVec

    NCollection_Array1<gp_Vec>

    rtype

    bool

FirstParameter()
  • Returns the first parameter of the function.
    rtype

    float

GetNbOf2dPoints()
  • Get number of 2d points returned by ‘Value’ and ‘D1’ functions.
    rtype

    int

GetNbOf3dPoints()
  • Get number of 3d points returned by ‘Value’ and ‘D1’ functions.
    rtype

    int

GetNumberOfPoints()
  • Get number of 3d and 2d points returned by ‘Value’ and ‘D1’ functions.
    param theNbPnt

    type theNbPnt

    int

    param theNbPnt2d

    type theNbPnt2d

    int

    rtype

    None

LastParameter()
  • Returns the last parameter of the function.
    rtype

    float

PeriodInformation()
  • Return information about peridicity in output paramateters space. @param theDimIdx Defines index in output parameters space. 1 <= theDimIdx <= 3 * myNbPnt + 2 * myNbPnt2d.
    param Standard_Integer

    type Standard_Integer

    param IsPeriodic

    type IsPeriodic

    bool

    param thePeriod

    type thePeriod

    float

    rtype

    None

Value()
  • Returns the point at parameter <theU>.
    param theU

    type theU

    float

    param thePnt2d

    type thePnt2d

    NCollection_Array1<gp_Pnt2d>

    param thePnt

    type thePnt

    NCollection_Array1<gp_Pnt>

    rtype

    bool

property thisown

The membership flag

class AppCont_LeastSquare(*args)

Bases: object

Parameters

SSP

type SSP

AppCont_Function

param U0

type U0

float

param U1

type U1

float

param FirstCons

type FirstCons

AppParCurves_Constraint

param LastCons

type LastCons

AppParCurves_Constraint

param Deg

type Deg

int

param NbPoints

type NbPoints

int

rtype

None

Error()
Parameters

F

type F

float

param MaxE3d

type MaxE3d

float

param MaxE2d

type MaxE2d

float

rtype

None

IsDone()
Return type

bool

Value()
Return type

AppParCurves_MultiCurve

property thisown

The membership flag

class SwigPyIterator(*args, **kwargs)

Bases: object

advance()
copy()
decr()
distance()
equal()
incr()
next()
previous()
property thisown

The membership flag

value()