OCC.Core.Geom2dAdaptor module

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

class Geom2dAdaptor_Curve(*args)

Bases: OCC.Core.Adaptor2d.Adaptor2d_Curve2d

Return type

None:param C: :type C: Geom2d_Curve :rtype: None* ConstructionError is raised if Ufirst>Ulast :param C: :type C: Geom2d_Curve :param UFirst: :type UFirst: float :param ULast: :type ULast: float :rtype: None

Curve()
Return type

opencascade::handle<Geom2d_Curve>

Load()
Parameters

C

type C

Geom2d_Curve

rtype

None* ConstructionError is raised if Ufirst>Ulast

param C

type C

Geom2d_Curve

param UFirst

type UFirst

float

param ULast

type ULast

float

rtype

None

Reset()
  • Reset currently loaded curve (undone Load()).
    rtype

    None

property thisown

The membership flag

class Geom2dAdaptor_GHCurve(*args)

Bases: OCC.Core.Adaptor2d.Adaptor2d_HCurve2d

  • Creates an empty GenHCurve2d.
    rtype

    None* Creates a GenHCurve2d from a Curve

    param C

    type C

    Geom2dAdaptor_Curve

    rtype

    None

ChangeCurve2d()
  • Returns the curve used to create the GenHCurve.
    rtype

    Geom2dAdaptor_Curve

static DownCast(t)
Set()
  • Sets the field of the GenHCurve2d.
    param C

    type C

    Geom2dAdaptor_Curve

    rtype

    None

property thisown

The membership flag

class Geom2dAdaptor_HCurve(*args)

Bases: OCC.Core.Geom2dAdaptor.Geom2dAdaptor_GHCurve

Return type

None:param AS: :type AS: Geom2dAdaptor_Curve :rtype: None:param S: :type S: Geom2d_Curve :rtype: None* ConstructionError is raised if UFirst>ULast or VFirst>VLast :param S: :type S: Geom2d_Curve :param UFirst: :type UFirst: float :param ULast: :type ULast: float :rtype: None

static DownCast(t)
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()
class geom2dadaptor

Bases: object

static MakeCurve()
  • Inherited from GHCurve. Provides a curve handled by reference. Creates a 2d curve from a HCurve2d. This cannot process the OtherCurves.
    param HC

    type HC

    Adaptor2d_Curve2d

    rtype

    opencascade::handle<Geom2d_Curve>

property thisown

The membership flag