OCC.Geom2dAdaptor module

class OCC.Geom2dAdaptor.Geom2dAdaptor_Curve(*args)

Bases: OCC.Adaptor2d.Adaptor2d_Curve2d

Curve()
Return type:Handle_Geom2d_Curve
Load()
Parameters:C (Handle_Geom2d_Curve &) –
Return type:None
  • ConstructionError is raised if Ufirst>Ulast
Parameters:
  • C (Handle_Geom2d_Curve &) –
  • UFirst (float) –
  • ULast (float) –
Return type:

None

thisown

The membership flag

class OCC.Geom2dAdaptor.Geom2dAdaptor_GHCurve(*args)

Bases: OCC.Adaptor2d.Adaptor2d_HCurve2d

ChangeCurve2d()
Return type:Geom2dAdaptor_Curve
GetHandle()

Geom2dAdaptor_GHCurve_GetHandle(Geom2dAdaptor_GHCurve self) -> Handle_Geom2dAdaptor_GHCurve

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

The membership flag

class OCC.Geom2dAdaptor.Geom2dAdaptor_HCurve(*args)

Bases: OCC.Geom2dAdaptor.Geom2dAdaptor_GHCurve

GetHandle()

Geom2dAdaptor_HCurve_GetHandle(Geom2dAdaptor_HCurve self) -> Handle_Geom2dAdaptor_HCurve

thisown

The membership flag

class OCC.Geom2dAdaptor.Handle_Geom2dAdaptor_GHCurve(*args)

Bases: OCC.Adaptor2d.Handle_Adaptor2d_HCurve2d

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

The membership flag

class OCC.Geom2dAdaptor.Handle_Geom2dAdaptor_HCurve(*args)

Bases: OCC.Geom2dAdaptor.Handle_Geom2dAdaptor_GHCurve

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

The membership flag

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

Bases: object

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

The membership flag

value()
class OCC.Geom2dAdaptor.geom2dadaptor(*args, **kwargs)

Bases: object

static MakeCurve(*args)
  • Inherited from GHCurve. Provides a curve handled by reference. Creates a 2d curve from a HCurve2d. This cannot process the OtherCurves.
Parameters:HC (Adaptor2d_Curve2d &) –
Return type:Handle_Geom2d_Curve
thisown

The membership flag

OCC.Geom2dAdaptor.geom2dadaptor_MakeCurve(*args)
  • Inherited from GHCurve. Provides a curve handled by reference. Creates a 2d curve from a HCurve2d. This cannot process the OtherCurves.
Parameters:HC (Adaptor2d_Curve2d &) –
Return type:Handle_Geom2d_Curve