OCC.GeomAdaptor module

class OCC.GeomAdaptor.GeomAdaptor_Curve(*args)

Bases: OCC.Adaptor3d.Adaptor3d_Curve

Curve()
  • Provides a curve inherited from Hcurve from Adaptor. This is inherited to provide easy to use constructors.
Return type:Handle_Geom_Curve
Load()
Parameters:C (Handle_Geom_Curve &) –
Return type:None
  • ConstructionError is raised if Ufirst>Ulast
Parameters:
  • C (Handle_Geom_Curve &) –
  • UFirst (float) –
  • ULast (float) –
Return type:

None

thisown

The membership flag

class OCC.GeomAdaptor.GeomAdaptor_GHCurve(*args)

Bases: OCC.Adaptor3d.Adaptor3d_HCurve

ChangeCurve()
Return type:GeomAdaptor_Curve
GetHandle()

GeomAdaptor_GHCurve_GetHandle(GeomAdaptor_GHCurve self) -> Handle_GeomAdaptor_GHCurve

Set()
Parameters:C (GeomAdaptor_Curve &) –
Return type:None
thisown

The membership flag

class OCC.GeomAdaptor.GeomAdaptor_GHSurface(*args)

Bases: OCC.Adaptor3d.Adaptor3d_HSurface

ChangeSurface()
Return type:GeomAdaptor_Surface
GetHandle()

GeomAdaptor_GHSurface_GetHandle(GeomAdaptor_GHSurface self) -> Handle_GeomAdaptor_GHSurface

Set()
Parameters:S (GeomAdaptor_Surface &) –
Return type:None
thisown

The membership flag

class OCC.GeomAdaptor.GeomAdaptor_HCurve(*args)

Bases: OCC.GeomAdaptor.GeomAdaptor_GHCurve

GetHandle()

GeomAdaptor_HCurve_GetHandle(GeomAdaptor_HCurve self) -> Handle_GeomAdaptor_HCurve

thisown

The membership flag

class OCC.GeomAdaptor.GeomAdaptor_HSurface(*args)

Bases: OCC.GeomAdaptor.GeomAdaptor_GHSurface

GetHandle()

GeomAdaptor_HSurface_GetHandle(GeomAdaptor_HSurface self) -> Handle_GeomAdaptor_HSurface

thisown

The membership flag

class OCC.GeomAdaptor.GeomAdaptor_Surface(*args)

Bases: OCC.Adaptor3d.Adaptor3d_Surface

Load()
Parameters:S (Handle_Geom_Surface &) –
Return type:None
  • ConstructionError is raised if UFirst>ULast or VFirst>VLast
Parameters:
  • S (Handle_Geom_Surface &) –
  • UFirst (float) –
  • ULast (float) –
  • VFirst (float) –
  • VLast (float) –
  • TolU (float) – default value is 0.0
  • TolV (float) – default value is 0.0
Return type:

None

  • ConstructionError is raised if UFirst>ULast or VFirst>VLast
Parameters:
  • S (Handle_Geom_Surface &) –
  • UFirst (float) –
  • ULast (float) –
  • VFirst (float) –
  • VLast (float) –
  • TolU (float) – default value is 0.0
  • TolV (float) – default value is 0.0
Return type:

None

  • ConstructionError is raised if UFirst>ULast or VFirst>VLast
Parameters:
  • S (Handle_Geom_Surface &) –
  • UFirst (float) –
  • ULast (float) –
  • VFirst (float) –
  • VLast (float) –
  • TolU (float) – default value is 0.0
  • TolV (float) – default value is 0.0
Return type:

None

Surface()
Return type:Handle_Geom_Surface
thisown

The membership flag

class OCC.GeomAdaptor.Handle_GeomAdaptor_GHCurve(*args)

Bases: OCC.Adaptor3d.Handle_Adaptor3d_HCurve

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class OCC.GeomAdaptor.Handle_GeomAdaptor_GHSurface(*args)

Bases: OCC.Adaptor3d.Handle_Adaptor3d_HSurface

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class OCC.GeomAdaptor.Handle_GeomAdaptor_HCurve(*args)

Bases: OCC.GeomAdaptor.Handle_GeomAdaptor_GHCurve

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class OCC.GeomAdaptor.Handle_GeomAdaptor_HSurface(*args)

Bases: OCC.GeomAdaptor.Handle_GeomAdaptor_GHSurface

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class OCC.GeomAdaptor.SwigPyIterator(*args, **kwargs)

Bases: object

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

The membership flag

value()
class OCC.GeomAdaptor.geomadaptor(*args, **kwargs)

Bases: object

static MakeCurve(*args)
  • Inherited from GHCurve. Provides a curve handled by reference. Build a Geom_Curve using the informations from the Curve from Adaptor3d
Parameters:C (Adaptor3d_Curve &) –
Return type:Handle_Geom_Curve
static MakeSurface(*args)
  • Build a Geom_Surface using the informations from the Surface from Adaptor3d
Parameters:S (Adaptor3d_Surface &) –
Return type:Handle_Geom_Surface
thisown

The membership flag

OCC.GeomAdaptor.geomadaptor_MakeCurve(*args)
  • Inherited from GHCurve. Provides a curve handled by reference. Build a Geom_Curve using the informations from the Curve from Adaptor3d
Parameters:C (Adaptor3d_Curve &) –
Return type:Handle_Geom_Curve
OCC.GeomAdaptor.geomadaptor_MakeSurface(*args)
  • Build a Geom_Surface using the informations from the Surface from Adaptor3d
Parameters:S (Adaptor3d_Surface &) –
Return type:Handle_Geom_Surface