OCC.GCE2d module

class OCC.GCE2d.GCE2d_MakeArcOfCircle(*args)

Bases: OCC.GCE2d.GCE2d_Root

Operator()
Return type:Handle_Geom2d_TrimmedCurve
Value()
  • Returns the constructed arc of circle. Exceptions StdFail_NotDone if no arc of circle is constructed.
Return type:Handle_Geom2d_TrimmedCurve
thisown

The membership flag

class OCC.GCE2d.GCE2d_MakeArcOfEllipse(*args)

Bases: OCC.GCE2d.GCE2d_Root

Operator()
Return type:Handle_Geom2d_TrimmedCurve
Value()
  • Returns the constructed arc of ellipse.
Return type:Handle_Geom2d_TrimmedCurve
thisown

The membership flag

class OCC.GCE2d.GCE2d_MakeArcOfHyperbola(*args)

Bases: OCC.GCE2d.GCE2d_Root

Operator()
Return type:Handle_Geom2d_TrimmedCurve
Value()
  • Returns the constructed arc of hyperbola.
Return type:Handle_Geom2d_TrimmedCurve
thisown

The membership flag

class OCC.GCE2d.GCE2d_MakeArcOfParabola(*args)

Bases: OCC.GCE2d.GCE2d_Root

Operator()
Return type:Handle_Geom2d_TrimmedCurve
Value()
  • Returns the constructed arc of parabola.
Return type:Handle_Geom2d_TrimmedCurve
thisown

The membership flag

class OCC.GCE2d.GCE2d_MakeCircle(*args)

Bases: OCC.GCE2d.GCE2d_Root

Operator()
Return type:Handle_Geom2d_Circle
Value()
  • Returns the constructed circle. Exceptions StdFail_NotDone if no circle is constructed.
Return type:Handle_Geom2d_Circle
thisown

The membership flag

class OCC.GCE2d.GCE2d_MakeEllipse(*args)

Bases: OCC.GCE2d.GCE2d_Root

Operator()
Return type:Handle_Geom2d_Ellipse
Value()
  • Returns the constructed ellipse. Exceptions StdFail_NotDone if no ellipse is constructed.
Return type:Handle_Geom2d_Ellipse
thisown

The membership flag

class OCC.GCE2d.GCE2d_MakeHyperbola(*args)

Bases: OCC.GCE2d.GCE2d_Root

Operator()
Return type:Handle_Geom2d_Hyperbola
Value()
  • Returns the constructed hyperbola. Exceptions: StdFail_NotDone if no hyperbola is constructed.
Return type:Handle_Geom2d_Hyperbola
thisown

The membership flag

class OCC.GCE2d.GCE2d_MakeLine(*args)

Bases: OCC.GCE2d.GCE2d_Root

Operator()
Return type:Handle_Geom2d_Line
Value()
  • Returns the constructed line. Exceptions StdFail_NotDone if no line is constructed.
Return type:Handle_Geom2d_Line
thisown

The membership flag

class OCC.GCE2d.GCE2d_MakeMirror(*args)

Bases: object

Operator()
Return type:Handle_Geom2d_Transformation
Value()
  • Returns the constructed transformation.
Return type:Handle_Geom2d_Transformation
thisown

The membership flag

class OCC.GCE2d.GCE2d_MakeParabola(*args)

Bases: OCC.GCE2d.GCE2d_Root

Operator()
Return type:Handle_Geom2d_Parabola
Value()
  • Returns the constructed parabola. Exceptions StdFail_NotDone if no parabola is constructed.
Return type:Handle_Geom2d_Parabola
thisown

The membership flag

class OCC.GCE2d.GCE2d_MakeRotation(*args)

Bases: object

Operator()
Return type:Handle_Geom2d_Transformation
Value()
  • Returns the constructed transformation.
Return type:Handle_Geom2d_Transformation
thisown

The membership flag

class OCC.GCE2d.GCE2d_MakeScale(*args)

Bases: object

Operator()
Return type:Handle_Geom2d_Transformation
Value()
  • Returns the constructed transformation.
Return type:Handle_Geom2d_Transformation
thisown

The membership flag

class OCC.GCE2d.GCE2d_MakeSegment(*args)

Bases: OCC.GCE2d.GCE2d_Root

Operator()
Return type:Handle_Geom2d_TrimmedCurve
Value()
  • Returns the constructed line segment. Exceptions StdFail_NotDone if no line segment is constructed.
Return type:Handle_Geom2d_TrimmedCurve
thisown

The membership flag

class OCC.GCE2d.GCE2d_MakeTranslation(*args)

Bases: object

Operator()
Return type:Handle_Geom2d_Transformation
Value()
  • Returns the constructed transformation.
Return type:Handle_Geom2d_Transformation
thisown

The membership flag

class OCC.GCE2d.GCE2d_Root(*args, **kwargs)

Bases: object

IsDone()
  • Returns true if the construction is successful.
Return type:bool
Status()
  • Returns the status of the construction - gce_Done, if the construction is successful, or - another value of the gce_ErrorType enumeration indicating why the construction failed.
Return type:gce_ErrorType
thisown

The membership flag

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

Bases: object

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

The membership flag

value()