OCC.Core.ApproxInt module

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

class ApproxInt_KnotTools

Bases: object

static BuildKnots()
  • Main function to build optimal knot sequence. At least one set from (thePntsXYZ, thePntsU1V1, thePntsU2V2) should exist. @param thePntsXYZ - Set of 3d points. @param thePntsU1V1 - Set of 2d points. @param thePntsU2V2 - Set of 2d points. @param thePars - Expected parameters assoiated with set. @param theApproxXYZ - Flag, existence of 3d set. @param theApproxU1V1 - Flag existence of first 2d set. @param theApproxU2V2 - Flag existence of second 2d set. @param theMinNbPnts - Minimal number of points per knot interval. @param theKnots - output knots sequence.
    param thePntsXYZ

    type thePntsXYZ

    TColgp_Array1OfPnt

    param thePntsU1V1

    type thePntsU1V1

    TColgp_Array1OfPnt2d

    param thePntsU2V2

    type thePntsU2V2

    TColgp_Array1OfPnt2d

    param thePars

    type thePars

    math_Vector

    param theApproxXYZ

    type theApproxXYZ

    bool

    param theApproxU1V1

    type theApproxU1V1

    bool

    param theApproxU2V2

    type theApproxU2V2

    bool

    param theMinNbPnts

    type theMinNbPnts

    int

    param theKnots

    type theKnots

    NCollection_Vector<int>

    rtype

    void

property thisown

The membership flag

class ApproxInt_SvSurfaces(*args, **kwargs)

Bases: object

Compute()
  • returns True if Tg,Tguv1 Tguv2 can be computed.
    param u1

    type u1

    float

    param v1

    type v1

    float

    param u2

    type u2

    float

    param v2

    type v2

    float

    param Pt

    type Pt

    gp_Pnt

    param Tg

    type Tg

    gp_Vec

    param Tguv1

    type Tguv1

    gp_Vec2d

    param Tguv2

    type Tguv2

    gp_Vec2d

    rtype

    bool

Pnt()
Parameters

u1

type u1

float

param v1

type v1

float

param u2

type u2

float

param v2

type v2

float

param P

type P

gp_Pnt

rtype

void

SeekPoint()
  • computes point on curve and parameters on the surfaces
    param u1

    type u1

    float

    param v1

    type v1

    float

    param u2

    type u2

    float

    param v2

    type v2

    float

    param Point

    type Point

    IntSurf_PntOn2S

    rtype

    bool

Tangency()
Parameters

u1

type u1

float

param v1

type v1

float

param u2

type u2

float

param v2

type v2

float

param Tg

type Tg

gp_Vec

rtype

bool

TangencyOnSurf1()
Parameters

u1

type u1

float

param v1

type v1

float

param u2

type u2

float

param v2

type v2

float

param Tg

type Tg

gp_Vec2d

rtype

bool

TangencyOnSurf2()
Parameters

u1

type u1

float

param v1

type v1

float

param u2

type u2

float

param v2

type v2

float

param Tg

type Tg

gp_Vec2d

rtype

bool

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()