OCC.gce module¶

class
SwigPyIterator
(*args, **kwargs)¶ Bases:
object

advance
()¶

copy
()¶

decr
()¶

distance
()¶

equal
()¶

incr
()¶

next
()¶

previous
()¶

thisown
¶ The membership flag

value
()¶


class
gce_MakeCirc
(*args)¶ Bases:
OCC.gce.gce_Root
 A2 locates the circle and gives its orientation in 3D space. Warnings : It is not forbidden to create a circle with Radius = 0.0 The status is ‘NegativeRadius’ if Radius < 0.0
Parameters: Return type:  Makes a Circ from gp <TheCirc> coaxial to another Circ <Circ> at a distance <Dist>. If Dist is greater than zero the result is encloses the circle <Circ>, else the result is enclosed by the circle <Circ>.
Parameters: Return type:  Makes a Circ from gp <TheCirc> coaxial to another Circ <Circ> and passing through a Pnt2d <Point>.
Parameters: Return type:  Makes a Circ from gp <TheCirc> passing through 3 Pnt2d <P1>,<P2>,<P3>.
Parameters: Return type:  Makes a Circ from gp <TheCirc> with its center <Center> and the normal of its plane <Norm> and its radius <Radius>.
Parameters: Return type:  Makes a Circ from gp <TheCirc> with its center <Center> and the normal of its plane <Plane> and its radius <Radius>.
Parameters: Return type:  Makes a Circ from gp <TheCirc> with its center <Center> and a point <Ptaxis> giving the normal of its plane <Plane> and its radius <Radius>.
Parameters: Return type:  Makes a Circ from gp <TheCirc> with its center <Center> and its radius <Radius>. Warning The MakeCirc class does not prevent the construction of a circle with a null radius. If an error occurs (that is, when IsDone returns false), the Status function returns:  gce_Negative Radius if:  Radius is less than 0.0, or  Dist is less than 0.0 and the absolute value of Dist is greater than the radius of Circ;  gce_IntersectionError if the points P1, P2 and P3 are collinear, and the three are not coincident;  gce_ConfusedPoints if two of the three points P1, P2 and P3 are coincident; or  gce_NullAxis if Center and Ptaxis are coincident.
Parameters: Return type: 
Value
()¶  Returns the constructed circle. Exceptions StdFail_NotDone if no circle is constructed.
Return type: gp_Circ

thisown
¶ The membership flag

class
gce_MakeCirc2d
(*args)¶ Bases:
OCC.gce.gce_Root
 The location point of XAxis is the center of the circle. Warnings : It is not forbidden to create a circle with Radius = 0.0 If Sense is true the local coordinate system of the solution is direct and non direct in the other case. The status is ‘NegativeRadius’ if Radius < 0.0.
Parameters: Return type:  The location point of Axis is the center of the circle. Warnings : It is not forbidden to create a circle with Radius = 0.0
Parameters: Return type:  Makes a Circ2d from gp <TheCirc> concentric with another circ2d <Circ> with a distance <Dist>. If Dist is greater than zero the result encloses the circle <Circ>, else the result is enclosed by the circle <Circ>. The local coordinate system of the solution is the same as Circ.
Parameters: Return type:  Makes a Circ2d from gp <TheCirc> concentric with another circ2d <Circ> and passing through a Pnt2d <Point>. The local coordinate system of the solution is the same as Circ.
Parameters: Return type:  Makes a Circ2d from gp <TheCirc> passing through 3 Pnt2d <P1>,<P2>,<P3>. The local coordinate system of the solution is given by the three points P1, P2, P3.
Parameters: Return type:  Makes a Circ2d from gp <TheCirc> with its center <Center> and its radius <Radius>. If Sense is true the local coordinate system of the solution is direct and non direct in the other case.
Parameters: Return type:  Makes a Circ2d from gp <TheCirc> with its center <Center> and a point giving the radius. If Sense is true the local coordinate system of the solution is direct and non direct in the other case.
Parameters: Return type: 
Value
()¶  Returns the constructed circle. Exceptions StdFail_NotDone if no circle is constructed.
Return type: gp_Circ2d

thisown
¶ The membership flag

class
gce_MakeCone
(*args)¶ Bases:
OCC.gce.gce_Root
 Creates an infinite conical surface. A2 locates the cone in the space and defines the reference plane of the surface. Ang is the conical surface semiangle between 0 and PI/2 radians. Radius is the radius of the circle in the reference plane of the cone. If Radius is lower than 0.0 the status is ‘ If Ang < Resolution from gp or Ang >= (PI/2)  Resolution.
Parameters: Return type:  Makes a Cone from gp <TheCone> coaxial to another Cone <Cone> and passing through a Pnt <Point>.
Parameters: Return type:  Makes a Cone from gp <TheCone> coaxial to another Cone <Cone> at the distance <Dist> which can be greater or lower than zero.
Parameters: Return type:  Makes a Cone from gp <TheCone> by four points <P1>, <P2>,<P3> and <P4>. Its axis is <P1P2> and the radius of its base is the distance between <P3> and <P1P2>. The distance between <P4> and <P1P2> is the radius of the section passing through <P4>. If <P1> and <P2> are confused or <P3> and <P4> are confused we have the status ‘ConfusedPoints’ if <P1>,<P2>,<P3>,<P4> are colinear we have the status ‘ColinearPoints’ If <P3P4> is perpendicular to <P1P2> we have the status ‘NullAngle’. <P3P4> is colinear to <P1P2> we have the status ‘NullAngle’.
Parameters: Return type:  Makes a Cone by its axis <Axis> and and two points. The distance between <P1> and the axis is the radius of the section passing through <P1>. The distance between <P2> and the axis is the radius of the section passing through <P2>. If <P1P2> is colinear to <Axis> we have the status ‘NullAngle’ If <P3P4> is perpendicular to <Axis> we have the status ‘NullAngle’ If <P1> and <P2> are confused we have the status ‘ConfusedPoints’
Parameters: Return type:  Makes a Cone by its axis <Axis> and and two points. The distance between <P1> and the axis is the radius of the section passing through <P1> The distance between <P2> and the axis is the radius of the section passing through <P2> If <P1P2> is colinear to <Axis> we have the status ‘NullAngle’ If <P3P4> is perpendicular to <Axis> we have the status ‘NullAngle’ If <P1> and <P2> are confused we have the status ‘ConfusedPoints’
Parameters: Return type:  Makes a Cone with two points and two radius. The axis of the solution is the line passing through <P1> and <P2>. <R1> is the radius of the section passing through <P1> and <R2> the radius of the section passing through <P2>. If <P1> and <P2> are confused we have the status ‘NullAxis’. Warning If an error occurs (that is, when IsDone returns false), the Status function returns:  gce_NegativeRadius if Radius, R1 or R2 is less than 0.0;  gce_BadAngle if Ang is less than gp::Resolution() or greater than Pi/2. gp::Resolution();  gce_ConfusedPoints if P1 and P2 or P3 and P4 are coincident;  gce_NullAxis if the points P1 and P2, are coincident (5th syntax only);  gce_NullAngle if:  the vector joining P1 to P2 is parallel to either Axis or the line joining P3 to P4, or  R1 and R2 are equal, (that is, their difference is less than gp::Resolution()); or  gce_NullRadius if:  the vector joining P1 to P2 is perpendicular to the line joining P3 to P4,  the vector joining P1 to P2 is perpendicular to Axis, or  P1, P2, P3, and P4 are collinear.
Parameters: Return type: 
Value
()¶  Returns the constructed cone. Exceptions StdFail_NotDone if no cone is constructed.
Return type: gp_Cone

thisown
¶ The membership flag

class
gce_MakeCylinder
(*args)¶ Bases:
OCC.gce.gce_Root
 <A2> is the local cartesian coordinate system of <self>. The status is ‘NegativeRadius’ if R < 0.0
Parameters: Return type:  Makes a Cylinder from gp <TheCylinder> coaxial to another Cylinder <Cylinder> and passing through a Pnt <Point>.
Parameters:  Cyl (gp_Cylinder) –
 Point (gp_Pnt) –
Return type:  Makes a Cylinder from gp <TheCylinder> coaxial to another Cylinder <Cylinder> at the distance <Dist> which can be greater or lower than zero. The radius of the result is the absolute value of the radius of <Cyl> plus <Dist>
Parameters:  Cyl (gp_Cylinder) –
 Dist (float) –
Return type:  Makes a Cylinder from gp <TheCylinder> with 3 points <P1>,<P2>,<P3>. Its axis is <P1P2> and its radius is the distance between <P3> and <P1P2>
Parameters: Return type:  Makes a Cylinder by its axis <Axis> and radius <Radius>.
Parameters: Return type:  Makes a Cylinder by its circular base. Warning If an error occurs (that is, when IsDone returns false), the Status function returns:  gce_NegativeRadius if:  Radius is less than 0.0, or  Dist is negative and has an absolute value which is greater than the radius of Cyl; or  gce_ConfusedPoints if points P1 and P2 are coincident.
Parameters: Circ (gp_Circ) – Return type: None 
Operator
()¶ Return type: gp_Cylinder

Value
()¶  Returns the constructed cylinder. Exceptions StdFail_NotDone if no cylinder is constructed.
Return type: gp_Cylinder

thisown
¶ The membership flag

class
gce_MakeDir
(*args)¶ Bases:
OCC.gce.gce_Root
 Normalizes the vector V and creates a direction. Status is ‘NullVector’ if V.Magnitude() <= Resolution.
Parameters: V (gp_Vec) – Return type: None  Creates a direction from a triplet of coordinates. Status is ‘NullVector’ if Coord.Modulus() <= Resolution from gp.
Parameters: Coord (gp_XYZ) – Return type: None  Creates a direction with its 3 cartesian coordinates. Status is ‘NullVector’ if Sqrt(Xv*Xv + Yv*Yv + Zv*Zv) <= Resolution
Parameters: Return type:  Make a Dir from gp <TheDir> passing through 2 Pnt <P1>,<P2>. Status is ‘ConfusedPoints’ if <p1> and <P2> are confused. Warning If an error occurs (that is, when IsDone returns false), the Status function returns:  gce_ConfusedPoints if points P1 and P2 are coincident, or  gce_NullVector if one of the following is less than or equal to gp::Resolution():  the magnitude of vector V,  the modulus of Coord,  Sqrt(Xv*Xv + Yv*Yv + Zv*Zv).
Parameters: Return type: 
Value
()¶  Returns the constructed unit vector. Exceptions StdFail_NotDone if no unit vector is constructed.
Return type: gp_Dir

thisown
¶ The membership flag

class
gce_MakeDir2d
(*args)¶ Bases:
OCC.gce.gce_Root
 Normalizes the vector V and creates a direction. Status is ‘NullVector’ if V.Magnitude() <= Resolution.
Parameters: V (gp_Vec2d) – Return type: None  Creates a direction from a triplet of coordinates. Status is ‘NullVector’ if Coord.Modulus() <= Resolution from gp.
Parameters: Coord (gp_XY) – Return type: None  Creates a direction with its 3 cartesian coordinates. Status is ‘NullVector’ if Sqrt(Xv*Xv + Yv*Yv ) <= Resolution
Parameters: Return type:  Make a Dir2d from gp <TheDir> passing through 2 Pnt <P1>,<P2>. Status is ‘ConfusedPoints’ if <P1> and <P2> are confused. Warning If an error occurs (that is, when IsDone returns false), the Status function returns:  gce_ConfusedPoints if points P1 and P2 are coincident, or  gce_NullVector if one of the following is less than or equal to gp::Resolution():  the magnitude of vector V,  the modulus of Coord,  Sqrt(Xv*Xv + Yv*Yv).
Parameters: Return type: 
Value
()¶  Returns the constructed unit vector. Exceptions StdFail_NotDone if no unit vector is constructed.
Return type: gp_Dir2d

thisown
¶ The membership flag

class
gce_MakeElips
(*args)¶ Bases:
OCC.gce.gce_Root
 The major radius of the ellipse is on the ‘XAxis’ and the minor radius is on the ‘YAxis’ of the ellipse. The ‘XAxis’ is defined with the ‘XDirection’ of A2 and the ‘YAxis’ is defined with the ‘YDirection’ of A2. Warnings : It is not forbidden to create an ellipse with MajorRadius = MinorRadius.
Parameters: Return type:  Make an ellipse with its center and two points. Warning The MakeElips class does not prevent the construction of an ellipse where the MajorRadius is equal to the MinorRadius. If an error occurs (that is, when IsDone returns false), the Status function returns:  gce_InvertRadius if MajorRadius is less than MinorRadius;  gce_NegativeRadius if MinorRadius is less than 0.0;  gce_NullAxis if the points S1 and Center are coincident; or  gce_InvertAxis if:  the major radius computed with Center and S1 is less than the minor radius computed with Center, S1 and S2, or  Center, S1 and S2 are collinear.
Parameters: Return type: 
Value
()¶  Returns the constructed ellipse. Exceptions StdFail_NotDone if no ellipse is constructed.
Return type: gp_Elips

thisown
¶ The membership flag

class
gce_MakeElips2d
(*args)¶ Bases:
OCC.gce.gce_Root
 Creates an ellipse with the major axis, the major and the minor radius. The location of the MajorAxis is the center of the ellipse. The sense of parametrization is given by Sense. It is possible to create an ellipse with MajorRadius = MinorRadius. the status is ‘InvertRadius’ if MajorRadius < MinorRadius or ‘NegativeRadius’ if MinorRadius < 0.0
Parameters: Return type:  Axis defines the Xaxis and Yaxis of the ellipse which defines the origin and the sense of parametrization. Creates an ellipse with the AxisPlacement the major and the minor radius. The location of Axis is the center of the ellipse. It is possible to create an ellipse with MajorRadius = MinorRadius. the status is ‘InvertRadius’ if MajorRadius < MinorRadius or ‘NegativeRadius’ if MinorRadius < 0.0
Parameters: Return type:  Makes an Elips2d with its center and two points. The sense of parametrization is given by S1, S2, and Center. Depending on the constructor, the implicit orientation of the ellipse is:  the sense defined by A,  the sense defined by points Center, S1 and S2,  the trigonometric sense if Sense is not given or is true, or  the opposite if Sense is false. It is possible to construct an ellipse where the major and minor radii are equal. Warning If an error occurs (that is, when IsDone returns false), the Status function returns:  gce_InvertRadius if MajorRadius is less than MinorRadius,  gce_NegativeRadius if MajorRadius or MinorRadius is less than 0.0,  gce_NullAxis if points S1, S2 and Center are collinear, or  gce_InvertAxis if the major radius computed with Center and S1 is less than the minor radius computed with Center, S1 and S2.
Parameters: Return type: 
Operator
()¶ Return type: gp_Elips2d

Value
()¶  Returns the constructed ellipse. Exceptions StdFail_NotDone if no ellipse is constructed.
Return type: gp_Elips2d

thisown
¶ The membership flag

class
gce_MakeHypr
(*args)¶ Bases:
OCC.gce.gce_Root
 A2 is the local coordinate system of the hyperbola. In the local coordinates system A2 the equation of the hyperbola is : X*X / MajorRadius*MajorRadius  Y*Y / MinorRadius*MinorRadius = 1.0 It is not forbidden to create an Hyperbola with MajorRadius = MinorRadius. For the hyperbola the MajorRadius can be lower than the MinorRadius. The status is ‘NegativeRadius’ if MajorRadius < 0.0 and ‘InvertRadius’ if MinorRadius > MajorRadius.
Parameters: Return type:  Constructs a hyperbola  centered on the point Center, where:  the plane of the hyperbola is defined by Center, S1 and S2,  its major axis is defined by Center and S1,  its major radius is the distance between Center and S1, and  its minor radius is the distance between S2 and the major axis. Warning If an error occurs (that is, when IsDone returns false), the Status function returns:  gce_NegativeRadius if MajorRadius is less than 0.0;  gce_InvertRadius if:  the major radius (computed with Center, S1) is less than the minor radius (computed with Center, S1 and S2), or  MajorRadius is less than MinorRadius; or  gce_ColinearPoints if S1, S2 and Center are collinear.
Parameters: Return type: 
Value
()¶  Returns the constructed hyperbola. Exceptions StdFail_NotDone if no hyperbola is constructed.
Return type: gp_Hypr

thisown
¶ The membership flag

class
gce_MakeHypr2d
(*args)¶ Bases:
OCC.gce.gce_Root
 Constructs a hyperbola centered on the point Center, where:  the major axis of the hyperbola is defined by Center and point S1,  the major radius is the distance between Center and S1, and  the minor radius is the distance between point S2 and the major axis.
Parameters: Return type:  Constructs a hyperbola with major and minor radii MajorRadius and MinorRadius, where:  the center of the hyperbola is the origin of the axis MajorAxis, and  the major axis is defined by MajorAxis if Sense is true, or the opposite axis to MajorAxis if Sense is false; or  centered on the origin of the coordinate system A, with major and minor radii MajorRadius and MinorRadius, where its major axis is the ‘X Axis’ of A (A is the local coordinate system of the hyperbola).
Parameters: Return type:  Creates a Hypr2d centered on the origin of the coordinate system A, with major and minor radii MajorRadius and MinorRadius, where its major axis is the ‘X Axis’ of A (A is the local coordinate system of the hyperbola).
Parameters: Return type: 
Value
()¶  Returns the constructed hyperbola. Exceptions StdFail_NotDone if no hyperbola is constructed.
Return type: gp_Hypr2d

thisown
¶ The membership flag

class
gce_MakeLin
(*args)¶ Bases:
OCC.gce.gce_Root
 Creates a line located along the axis A1.
Parameters: A1 (gp_Ax1) – Return type: None  <P> is the location point (origin) of the line and <V> is the direction of the line.
Parameters: Return type:  Make a Lin from gp <TheLin> parallel to another Lin <Lin> and passing through a Pnt <Point>.
Parameters: Return type:  Make a Lin from gp <TheLin> passing through 2 Pnt <P1>,<P2>. It returns false if <p1> and <P2> are confused.
Parameters: Return type: 
Value
()¶  Returns the constructed line. Exceptions StdFail_NotDone is raised if no line is constructed.
Return type: gp_Lin

thisown
¶ The membership flag

class
gce_MakeLin2d
(*args)¶ Bases:
OCC.gce.gce_Root
 Creates a line located with A.
Parameters: A (gp_Ax2d) – Return type: None  <P> is the location point (origin) of the line and <V> is the direction of the line.
Parameters: Return type:  Creates the line from the equation A*X + B*Y + C = 0.0 the status is ‘NullAxis’if Sqrt(A*A + B*B) <= Resolution from gp.
Parameters: Return type:  Make a Lin2d from gp <TheLin> parallel to another Lin2d <Lin> at a distance <Dist>. If Dist is greater than zero the result is on the right of the Line <Lin>, else the result is on the left of the Line <Lin>.
Parameters: Return type:  Make a Lin2d from gp <TheLin> parallel to another Lin2d <Lin> and passing through a Pnt2d <Point>.
Parameters: Return type:  Make a Lin2d from gp <TheLin> passing through 2 Pnt2d <P1>,<P2>. It returns false if <P1> and <P2> are confused. Warning If an error occurs (that is, when IsDone returns false), the Status function returns:  gce_NullAxis if Sqrt(A*A + B*B) is less than or equal to gp::Resolution(), or  gce_ConfusedPoints if points P1 and P2 are coincident.
Parameters: Return type: 
Value
()¶  Returns the constructed line. Exceptions StdFail_NotDone if no line is constructed.
Return type: gp_Lin2d

thisown
¶ The membership flag

class
gce_MakeMirror
(*args)¶ Bases:
object
Parameters: Return type: Return type: Return type:  Makes a symmetry transformation af axis defined by <Point> and <Direc>.
Parameters: Return type:  Makes a symmetry transformation of plane <Plane>.
Parameters: Plane (gp_Pln) – Return type: None  Makes a symmetry transformation of plane <Plane>.
Parameters: Plane (gp_Ax2) – Return type: None 
thisown
¶ The membership flag

class
gce_MakeMirror2d
(*args)¶ Bases:
object
Parameters: Return type: Return type: Return type:  Makes a symmetry transformation af axis defined by <Point> and <Direc>.
Parameters: Return type: 
thisown
¶ The membership flag

class
gce_MakeParab
(*args)¶ Bases:
OCC.gce.gce_Root
 — Purpose ; Creates a parabola with its local coordinate system ‘A2’ and it’s focal length ‘Focal’. The XDirection of A2 defines the axis of symmetry of the parabola. The YDirection of A2 is parallel to the directrix of the parabola. The Location point of A2 is the vertex of the parabola The status is ‘NullFocusLength’ if Focal < 0.0
Parameters: Return type:  D is the directrix of the parabola and F the focus point. The symmetry axis (XAxis) of the parabola is normal to the directrix and pass through the focus point F, but its location point is the vertex of the parabola. The YAxis of the parabola is parallel to D and its location point is the vertex of the parabola. The normal to the plane of the parabola is the cross product between the XAxis and the YAxis.
Parameters: Return type: 
Value
()¶  Returns the constructed parabola. Exceptions StdFail_NotDone if no parabola is constructed.
Return type: gp_Parab

thisown
¶ The membership flag

class
gce_MakeParab2d
(*args)¶ Bases:
OCC.gce.gce_Root
 Creates a parabola with its axis of symmetry (‘MirrorAxis’) and its focal length. Warnings : It is possible to have Focal = 0. The status is ‘NullFocalLength’ Raised if Focal < 0.0
Parameters: Return type:  Creates a parabola with its local coordinate system <A> and its focal length. Warnings : It is possible to have Focal = 0. The status is ‘NullFocalLength’ Raised if Focal < 0.0
Parameters: Return type:  Creates a parabola with the directrix and the focus point. The sense of parametrization is given by Sense.
Parameters: Return type:  Creates a parabola with the local coordinate system and the focus point. The sense of parametrization is given by Sense.
Parameters: Return type:  Make an Parab2d with S1 as the Focal point and Center as the apex of the parabola Warning The MakeParab2d class does not prevent the construction of a parabola with a null focal distance. If an error occurs (that is, when IsDone returns false), the Status function returns:  gce_NullFocusLength if Focal is less than 0.0, or  gce_NullAxis if S1 and Center are coincident.
Parameters: Return type: 
Operator
()¶ Return type: gp_Parab2d

Value
()¶  Returns the constructed parabola. Exceptions StdFail_NotDone if no parabola is constructed.
Return type: gp_Parab2d

thisown
¶ The membership flag

class
gce_MakePln
(*args)¶ Bases:
OCC.gce.gce_Root
 The coordinate system of the plane is defined with the axis placement A2. The ‘Direction’ of A2 defines the normal to the plane. The ‘Location’ of A2 defines the location (origin) of the plane. The ‘XDirection’ and ‘YDirection’ of A2 define the ‘XAxis’ and the ‘YAxis’ of the plane used to parametrize the plane.
Parameters: A2 (gp_Ax2) – Return type: None  Creates a plane with the ‘Location’ point <P> and the normal direction <V>.
Parameters: Return type:  Creates a plane from its cartesian equation : A * X + B * Y + C * Z + D = 0.0 //! the status is ‘BadEquation’ if Sqrt (A*A + B*B + C*C) <= Resolution from gp.
Parameters: Return type:  Make a Pln from gp <ThePln> parallel to another Pln <Pln> and passing through a Pnt <Point>.
Parameters: Return type:  Make a Pln from gp <ThePln> parallel to another Pln <Pln> at the distance <Dist> which can be greater or less than zero. In the first case the result is at the distance <Dist> to the plane <Pln> in the direction of the normal to <Pln>. Otherwize it is in the opposite direction.
Parameters: Return type:  Make a Pln from gp <ThePln> passing through 3 Pnt <P1>,<P2>,<P3>. It returns false if <P1> <P2> <P3> are confused.
Parameters: Return type:  Make a Pln from gp <ThePln> perpendicular to the line passing through <P1>,<P2>. The status is ‘ConfusedPoints’ if <P1> <P2> are confused.
Parameters: Return type:  Make a pln passing through the location of <Axis>and normal to the Direction of <Axis>. Warning  If an error occurs (that is, when IsDone returns false), the Status function returns:  gce_BadEquation if Sqrt(A*A + B*B + C*C) is less than or equal to gp::Resolution(),  gce_ConfusedPoints if P1 and P2 are coincident, or  gce_ColinearPoints if P1, P2 and P3 are collinear.
Parameters: Axis (gp_Ax1) – Return type: None 
Value
()¶  Returns the constructed plane. Exceptions StdFail_NotDone if no plane is constructed.
Return type: gp_Pln

thisown
¶ The membership flag

class
gce_MakeRotation
(*args)¶ Bases:
object
 Constructs a rotation through angle Angle about the axis defined by the line Line.
Parameters: Return type:  Constructs a rotation through angle Angle about the axis defined by the axis Axis.
Parameters: Return type:  Constructs a rotation through angle Angle about the axis defined by: the point Point and the unit vector Direc.
Parameters: Return type: 
thisown
¶ The membership flag

class
gce_MakeRotation2d
(*args)¶ Bases:
object
 Constructs a rotation through angle Angle about the center Point.
Parameters: Return type: 
thisown
¶ The membership flag

class
gce_MakeScale
(*args)¶ Bases:
object
 Constructs a scaling transformation with  Point as the center of the transformation, and  Scale as the scale factor.
Parameters: Return type: 
thisown
¶ The membership flag

class
gce_MakeScale2d
(*args)¶ Bases:
object
 Constructs a scaling transformation with:  Point as the center of the transformation, and  Scale as the scale factor.
Parameters: Return type: 
thisown
¶ The membership flag

class
gce_MakeTranslation
(*args)¶ Bases:
object
 Constructs a translation along the vector ‘ Vect’
Parameters: Vect (gp_Vec) – Return type: None  Constructs a translation along the vector (Point1,Point2) defined from the point Point1 to the point Point2.
Parameters: Return type: 
thisown
¶ The membership flag

class
gce_MakeTranslation2d
(*args)¶ Bases:
object
 Constructs a translation along the vector Vect.
Parameters: Vect (gp_Vec2d) – Return type: None  Constructs a translation along the vector (Point1,Point2) defined from the point Point1 to the point Point2.
Parameters: Return type: 
thisown
¶ The membership flag

class
gce_Root
¶ Bases:
object

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


register_handle
(handle, base_object)¶ Inserts the handle into the base object to prevent memory corruption in certain cases