OCC.StdPrs module¶

class
StdPrs_Curve
¶ Bases:
OCC.Prs3d.Prs3d_Root

static
Add
(*args)¶  Adds to the presentation aPresentation the drawing of the curve aCurve. The aspect is defined by LineAspect in aDrawer. If drawCurve equals Standard_False the curve will not be displayed, it is used if the curve is a part of some shape and PrimitiveArray visualization approach is activated (it is activated by default).
Parameters:  aPresentation (Handle_Prs3d_Presentation &) –
 aCurve (Adaptor3d_Curve &) –
 aDrawer (Handle_Prs3d_Drawer &) –
 drawCurve (bool) – default value is Standard_True
Return type: void
 Adds to the presentation aPresentation the drawing of the curve aCurve. The aspect is defined by LineAspect in aDrawer. The drawing will be limited between the points of parameter U1 and U2. If drawCurve equals Standard_False the curve will not be displayed, it is used if the curve is a part of some shape and PrimitiveArray visualization approach is activated (it is activated by default).
Parameters: Return type: void
 adds to the presentation aPresentation the drawing of the curve aCurve. The aspect is the current aspect. aDeflection is used in the circle case. Points give a sequence of curve points. If drawCurve equals Standard_False the curve will not be displayed, it is used if the curve is a part of some shape and PrimitiveArray visualization approach is activated (it is activated by default).
Parameters:  aPresentation (Handle_Prs3d_Presentation &) –
 aCurve (Adaptor3d_Curve &) –
 aDeflection (Quantity_Length) –
 aDrawer (Handle_Prs3d_Drawer &) –
 Points (TColgp_SequenceOfPnt) –
 drawCurve (bool) – default value is Standard_True
Return type: void
 adds to the presentation aPresentation the drawing of the curve aCurve. The aspect is the current aspect. The drawing will be limited between the points of parameter U1 and U2. aDeflection is used in the circle case. Points give a sequence of curve points. If drawCurve equals Standard_False the curve will not be displayed, it is used if the curve is a part of some shape and PrimitiveArray visualization approach is activated (it is activated by default).
Parameters:  aPresentation (Handle_Prs3d_Presentation &) –
 aCurve (Adaptor3d_Curve &) –
 U1 (float) –
 U2 (float) –
 aDeflection (Quantity_Length) –
 Points (TColgp_SequenceOfPnt) –
 aNbPoints (int) – default value is 30
 drawCurve (bool) – default value is Standard_True
Return type: void

static
Match
(*args)¶  returns true if the distance between the point (X,Y,Z) and the drawing of the curve is less than aDistance.
Parameters:  X (Quantity_Length) –
 Y (Quantity_Length) –
 Z (Quantity_Length) –
 aDistance (Quantity_Length) –
 aCurve (Adaptor3d_Curve &) –
 aDrawer (Handle_Prs3d_Drawer &) –
Return type:  returns true if the distance between the point (X,Y,Z) and the drawing of the curve is less than aDistance.
Parameters: Return type:  returns true if the distance between the point (X,Y,Z) and the drawing of the curve aCurve is less than aDistance. The drawing is considered between the points of parameter U1 and U2;
Parameters: Return type:  returns true if the distance between the point (X,Y,Z) and the drawing of the curve aCurve is less than aDistance. The drawing is considered between the points of parameter U1 and U2;
Parameters: Return type:

thisown
¶ The membership flag

static

StdPrs_Curve_Add
(*args)¶  Adds to the presentation aPresentation the drawing of the curve aCurve. The aspect is defined by LineAspect in aDrawer. If drawCurve equals Standard_False the curve will not be displayed, it is used if the curve is a part of some shape and PrimitiveArray visualization approach is activated (it is activated by default).
Parameters:  aPresentation (Handle_Prs3d_Presentation &) –
 aCurve (Adaptor3d_Curve &) –
 aDrawer (Handle_Prs3d_Drawer &) –
 drawCurve (bool) – default value is Standard_True
Return type: void
 Adds to the presentation aPresentation the drawing of the curve aCurve. The aspect is defined by LineAspect in aDrawer. The drawing will be limited between the points of parameter U1 and U2. If drawCurve equals Standard_False the curve will not be displayed, it is used if the curve is a part of some shape and PrimitiveArray visualization approach is activated (it is activated by default).
Parameters: Return type: void
 adds to the presentation aPresentation the drawing of the curve aCurve. The aspect is the current aspect. aDeflection is used in the circle case. Points give a sequence of curve points. If drawCurve equals Standard_False the curve will not be displayed, it is used if the curve is a part of some shape and PrimitiveArray visualization approach is activated (it is activated by default).
Parameters:  aPresentation (Handle_Prs3d_Presentation &) –
 aCurve (Adaptor3d_Curve &) –
 aDeflection (Quantity_Length) –
 aDrawer (Handle_Prs3d_Drawer &) –
 Points (TColgp_SequenceOfPnt) –
 drawCurve (bool) – default value is Standard_True
Return type: void
 adds to the presentation aPresentation the drawing of the curve aCurve. The aspect is the current aspect. The drawing will be limited between the points of parameter U1 and U2. aDeflection is used in the circle case. Points give a sequence of curve points. If drawCurve equals Standard_False the curve will not be displayed, it is used if the curve is a part of some shape and PrimitiveArray visualization approach is activated (it is activated by default).
Parameters:  aPresentation (Handle_Prs3d_Presentation &) –
 aCurve (Adaptor3d_Curve &) –
 U1 (float) –
 U2 (float) –
 aDeflection (Quantity_Length) –
 Points (TColgp_SequenceOfPnt) –
 aNbPoints (int) – default value is 30
 drawCurve (bool) – default value is Standard_True
Return type: void

StdPrs_Curve_Match
(*args)¶  returns true if the distance between the point (X,Y,Z) and the drawing of the curve is less than aDistance.
Parameters:  X (Quantity_Length) –
 Y (Quantity_Length) –
 Z (Quantity_Length) –
 aDistance (Quantity_Length) –
 aCurve (Adaptor3d_Curve &) –
 aDrawer (Handle_Prs3d_Drawer &) –
Return type:  returns true if the distance between the point (X,Y,Z) and the drawing of the curve is less than aDistance.
Parameters: Return type:  returns true if the distance between the point (X,Y,Z) and the drawing of the curve aCurve is less than aDistance. The drawing is considered between the points of parameter U1 and U2;
Parameters: Return type:  returns true if the distance between the point (X,Y,Z) and the drawing of the curve aCurve is less than aDistance. The drawing is considered between the points of parameter U1 and U2;
Parameters: Return type:

class
StdPrs_HLRPolyShape
¶ Bases:
OCC.Prs3d.Prs3d_Root

static
Add
(*args)¶  Defines the hidden line removal display of the topology aShape in the projection defined by aProjector. The shape and the projection are added to the display aPresentation, and the attributes of the elements present in the aPresentation are defined by the attribute manager aDrawer.
Parameters:  aPresentation (Handle_Prs3d_Presentation &) –
 aShape (TopoDS_Shape &) –
 aDrawer (Handle_Prs3d_Drawer &) –
 aProjector (Handle_Prs3d_Projector &) –
Return type: void

thisown
¶ The membership flag

static

StdPrs_HLRPolyShape_Add
(*args)¶  Defines the hidden line removal display of the topology aShape in the projection defined by aProjector. The shape and the projection are added to the display aPresentation, and the attributes of the elements present in the aPresentation are defined by the attribute manager aDrawer.
Parameters:  aPresentation (Handle_Prs3d_Presentation &) –
 aShape (TopoDS_Shape &) –
 aDrawer (Handle_Prs3d_Drawer &) –
 aProjector (Handle_Prs3d_Projector &) –
Return type: void

class
StdPrs_HLRShape
¶ Bases:
OCC.Prs3d.Prs3d_Root

static
Add
(*args)¶ Parameters:  thePresentation (Handle_Prs3d_Presentation &) –
 theShape (TopoDS_Shape &) –
 theDrawer (Handle_Prs3d_Drawer &) –
 theProjector (Handle_Prs3d_Projector &) –
Return type: void

thisown
¶ The membership flag

static

StdPrs_HLRShape_Add
(*args)¶ Parameters:  thePresentation (Handle_Prs3d_Presentation &) –
 theShape (TopoDS_Shape &) –
 theDrawer (Handle_Prs3d_Drawer &) –
 theProjector (Handle_Prs3d_Projector &) –
Return type: void

class
StdPrs_HLRToolShape
(*args)¶ Bases:
object
Parameters:  TheShape (TopoDS_Shape &) –
 TheProjector (HLRAlgo_Projector &) –
Return type: 
Hidden
()¶ Parameters:  TheEdge (BRepAdaptor_Curve &) –
 U1 (float &) –
 U2 (float &) –
Return type:

Visible
()¶ Parameters:  TheEdge (BRepAdaptor_Curve &) –
 U1 (float &) –
 U2 (float &) –
Return type:

thisown
¶ The membership flag

class
StdPrs_Plane
¶ Bases:
OCC.Prs3d.Prs3d_Root

static
Add
(*args)¶  Defines display of infinite planes. The infinite plane aPlane is added to the display aPresentation, and the attributes of the display are defined by the attribute manager aDrawer.
Parameters:  aPresentation (Handle_Prs3d_Presentation &) –
 aPlane (Adaptor3d_Surface &) –
 aDrawer (Handle_Prs3d_Drawer &) –
Return type: void

static
Match
(*args)¶  returns true if the distance between the point (X,Y,Z) and the plane is less than aDistance.
Parameters:  X (Quantity_Length) –
 Y (Quantity_Length) –
 Z (Quantity_Length) –
 aDistance (Quantity_Length) –
 aPlane (Adaptor3d_Surface &) –
 aDrawer (Handle_Prs3d_Drawer &) –
Return type:

thisown
¶ The membership flag

static

StdPrs_Plane_Add
(*args)¶  Defines display of infinite planes. The infinite plane aPlane is added to the display aPresentation, and the attributes of the display are defined by the attribute manager aDrawer.
Parameters:  aPresentation (Handle_Prs3d_Presentation &) –
 aPlane (Adaptor3d_Surface &) –
 aDrawer (Handle_Prs3d_Drawer &) –
Return type: void

StdPrs_Plane_Match
(*args)¶  returns true if the distance between the point (X,Y,Z) and the plane is less than aDistance.
Parameters:  X (Quantity_Length) –
 Y (Quantity_Length) –
 Z (Quantity_Length) –
 aDistance (Quantity_Length) –
 aPlane (Adaptor3d_Surface &) –
 aDrawer (Handle_Prs3d_Drawer &) –
Return type:

class
StdPrs_PoleCurve
¶ Bases:
OCC.Prs3d.Prs3d_Root

static
Add
(*args)¶  Defines display of BSpline and Bezier curves. Adds the 3D curve aCurve to the StdPrs_PoleCurve algorithm. This shape is found in the presentation object aPresentation, and its display attributes are set in the attribute manager aDrawer. The curve object from Adaptor3d provides data from a Geom curve. This makes it possible to use the surface in a geometric algorithm.
Parameters:  aPresentation (Handle_Prs3d_Presentation &) –
 aCurve (Adaptor3d_Curve &) –
 aDrawer (Handle_Prs3d_Drawer &) –
Return type: void

static
Match
(*args)¶  returns true if the distance between the point (X,Y,Z) and the broken line made of the poles is less then aDistance.
Parameters:  X (Quantity_Length) –
 Y (Quantity_Length) –
 Z (Quantity_Length) –
 aDistance (Quantity_Length) –
 aCurve (Adaptor3d_Curve &) –
 aDrawer (Handle_Prs3d_Drawer &) –
Return type:

static
Pick
(*args)¶  returns the pole the most near of the point (X,Y,Z) and returns its range. The distance between the pole and (X,Y,Z) must be less then aDistance. If no pole corresponds, 0 is returned.
Parameters:  X (Quantity_Length) –
 Y (Quantity_Length) –
 Z (Quantity_Length) –
 aDistance (Quantity_Length) –
 aCurve (Adaptor3d_Curve &) –
 aDrawer (Handle_Prs3d_Drawer &) –
Return type:

thisown
¶ The membership flag

static

StdPrs_PoleCurve_Add
(*args)¶  Defines display of BSpline and Bezier curves. Adds the 3D curve aCurve to the StdPrs_PoleCurve algorithm. This shape is found in the presentation object aPresentation, and its display attributes are set in the attribute manager aDrawer. The curve object from Adaptor3d provides data from a Geom curve. This makes it possible to use the surface in a geometric algorithm.
Parameters:  aPresentation (Handle_Prs3d_Presentation &) –
 aCurve (Adaptor3d_Curve &) –
 aDrawer (Handle_Prs3d_Drawer &) –
Return type: void

StdPrs_PoleCurve_Match
(*args)¶  returns true if the distance between the point (X,Y,Z) and the broken line made of the poles is less then aDistance.
Parameters:  X (Quantity_Length) –
 Y (Quantity_Length) –
 Z (Quantity_Length) –
 aDistance (Quantity_Length) –
 aCurve (Adaptor3d_Curve &) –
 aDrawer (Handle_Prs3d_Drawer &) –
Return type:

StdPrs_PoleCurve_Pick
(*args)¶  returns the pole the most near of the point (X,Y,Z) and returns its range. The distance between the pole and (X,Y,Z) must be less then aDistance. If no pole corresponds, 0 is returned.
Parameters:  X (Quantity_Length) –
 Y (Quantity_Length) –
 Z (Quantity_Length) –
 aDistance (Quantity_Length) –
 aCurve (Adaptor3d_Curve &) –
 aDrawer (Handle_Prs3d_Drawer &) –
Return type:

class
StdPrs_ShadedShape
¶ Bases:
OCC.Prs3d.Prs3d_Root

static
Add
(*args)¶  Shades <theShape>. @param theToExploreSolids when set to true, explodes compound into two groups  with closed Solids and open Shells
Parameters:  thePresentation (Handle_Prs3d_Presentation &) –
 theShape (TopoDS_Shape &) –
 theDrawer (Handle_Prs3d_Drawer &) –
 theToExploreSolids (bool) – default value is Standard_True
Return type: void
 Shades <theShape> with texture coordinates. @param theToExploreSolids when set to true, explodes compound into two groups  with closed Solids and open Shells
Parameters: Return type: void

static
Tessellate
(*args)¶  Validates triangulation within the shape and performs tessellation if necessary.
Parameters:  theShape (TopoDS_Shape &) –
 theDrawer (Handle_Prs3d_Drawer &) –
Return type: void

thisown
¶ The membership flag

static

StdPrs_ShadedShape_Add
(*args)¶  Shades <theShape>. @param theToExploreSolids when set to true, explodes compound into two groups  with closed Solids and open Shells
Parameters:  thePresentation (Handle_Prs3d_Presentation &) –
 theShape (TopoDS_Shape &) –
 theDrawer (Handle_Prs3d_Drawer &) –
 theToExploreSolids (bool) – default value is Standard_True
Return type: void
 Shades <theShape> with texture coordinates. @param theToExploreSolids when set to true, explodes compound into two groups  with closed Solids and open Shells
Parameters: Return type: void

StdPrs_ShadedShape_Tessellate
(*args)¶  Validates triangulation within the shape and performs tessellation if necessary.
Parameters:  theShape (TopoDS_Shape &) –
 theDrawer (Handle_Prs3d_Drawer &) –
Return type: void

class
StdPrs_ShadedSurface
¶ Bases:
OCC.Prs3d.Prs3d_Root

static
Add
(*args)¶  Adds the surface aSurface to the presentation object aPresentation. The surface’s display attributes are set in the attribute manager aDrawer. The surface object from Adaptor3d provides data from a Geom surface in order to use the surface in an algorithm.
Parameters:  aPresentation (Handle_Prs3d_Presentation &) –
 aSurface (Adaptor3d_Surface &) –
 aDrawer (Handle_Prs3d_Drawer &) –
Return type: void

thisown
¶ The membership flag

static

StdPrs_ShadedSurface_Add
(*args)¶  Adds the surface aSurface to the presentation object aPresentation. The surface’s display attributes are set in the attribute manager aDrawer. The surface object from Adaptor3d provides data from a Geom surface in order to use the surface in an algorithm.
Parameters:  aPresentation (Handle_Prs3d_Presentation &) –
 aSurface (Adaptor3d_Surface &) –
 aDrawer (Handle_Prs3d_Drawer &) –
Return type: void

class
StdPrs_ToolPoint
¶ Bases:
object

static
Coord
(*args)¶ Parameters:  aPoint (Handle_Geom_Point &) –
 X (Quantity_Length &) –
 Y (Quantity_Length &) –
 Z (Quantity_Length &) –
Return type: void

thisown
¶ The membership flag

static

StdPrs_ToolPoint_Coord
(*args)¶ Parameters:  aPoint (Handle_Geom_Point &) –
 X (Quantity_Length &) –
 Y (Quantity_Length &) –
 Z (Quantity_Length &) –
Return type: void

class
StdPrs_ToolRFace
(*args)¶ Bases:
object
Return type: None Parameters: aSurface (Handle_BRepAdaptor_HSurface &) – Return type: None 
Orientation
()¶ Return type: TopAbs_Orientation

Value
()¶ Return type: Adaptor2d_Curve2dPtr

thisown
¶ The membership flag


class
StdPrs_ToolShadedShape
¶ Bases:
object

static
IsClosed
(*args)¶  Checks back faces visibility for specified shape (to activate backface culling). returns true if shape is closed manifold Solid or compound of such Solids.
Parameters: theShape (TopoDS_Shape &) – Return type: bool

static
IsTriangulated
(*args)¶  Similar to BRepTools::Triangulation() but without extra checks. returns true if all faces within shape are triangulated.
Parameters: theShape (TopoDS_Shape &) – Return type: bool

static
Normal
(*args)¶ Parameters:  aFace (TopoDS_Face &) –
 PC (Poly_Connect &) –
 Nor (TColgp_Array1OfDir) –
Return type: void

static
Triangulation
(*args)¶ Parameters:  aFace (TopoDS_Face &) –
 loc (TopLoc_Location &) –
Return type:

thisown
¶ The membership flag

static

StdPrs_ToolShadedShape_IsClosed
(*args)¶  Checks back faces visibility for specified shape (to activate backface culling). returns true if shape is closed manifold Solid or compound of such Solids.
Parameters: theShape (TopoDS_Shape &) – Return type: bool

StdPrs_ToolShadedShape_IsTriangulated
(*args)¶  Similar to BRepTools::Triangulation() but without extra checks. returns true if all faces within shape are triangulated.
Parameters: theShape (TopoDS_Shape &) – Return type: bool

StdPrs_ToolShadedShape_Normal
(*args)¶ Parameters:  aFace (TopoDS_Face &) –
 PC (Poly_Connect &) –
 Nor (TColgp_Array1OfDir) –
Return type: void

StdPrs_ToolShadedShape_Triangulation
(*args)¶ Parameters:  aFace (TopoDS_Face &) –
 loc (TopLoc_Location &) –
Return type:

class
StdPrs_ToolVertex
¶ Bases:
object

static
Coord
(*args)¶ Parameters:  aPoint (TopoDS_Vertex &) –
 X (Quantity_Length &) –
 Y (Quantity_Length &) –
 Z (Quantity_Length &) –
Return type: void

thisown
¶ The membership flag

static

StdPrs_ToolVertex_Coord
(*args)¶ Parameters:  aPoint (TopoDS_Vertex &) –
 X (Quantity_Length &) –
 Y (Quantity_Length &) –
 Z (Quantity_Length &) –
Return type: void

class
StdPrs_WFDeflectionRestrictedFace
¶ Bases:
OCC.Prs3d.Prs3d_Root

static
Add
(*args)¶  Defines a display featuring U and V isoparameters. Adds the surface aFace to the StdPrs_WFRestrictedFace algorithm. This face is found in a shape in the presentation object aPresentation, and its display attributes  in particular, the number of U and V isoparameters  are set in the attribute manager aDrawer. aFace is BRepAdaptor_HSurface surface created from a face in a topological shape. which is passed as an argument through the BRepAdaptor_HSurface surface created from it. This is what allows the topological face to be treated as a geometric surface.
Parameters:  aPresentation (Handle_Prs3d_Presentation &) –
 aFace (Handle_BRepAdaptor_HSurface &) –
 aDrawer (Handle_Prs3d_Drawer &) –
Return type: void
 Defines a display of a delectionspecified face. The display will feature U and V isoparameters. Adds the topology aShape to the StdPrs_WFRestrictedFace algorithm. This shape is found in the presentation object aPresentation, and its display attributes  except the number of U and V isoparameters  are set in the attribute manager aDrawer. The function sets the number of U and V isoparameters, NBUiso and NBViso, in the shape. To do this, the arguments DrawUIso and DrawVIso must be true. aFace is BRepAdaptor_HSurface surface created from a face in a topological shape. which is passed as an argument through the BRepAdaptor_HSurface surface created from it. This is what allows the topological face to be treated as a geometric surface. Curves give a sequence of face curves, it is used if the PrimitiveArray visualization approach is activated (it is activated by default).
Parameters: Return type: void

static
AddBox
(*args)¶  Adds box as polyline to the presentation object
Parameters:  thePrs (Handle_Prs3d_Presentation &) –
 theBndBox (Bnd_Box &) –
 theDrawer (Handle_Prs3d_Drawer &) –
Return type: void

static
AddUIso
(*args)¶  Defines a display featuring U isoparameters respectively. Add the surface aFace to the StdPrs_WFRestrictedFace algorithm. This face is found in a shape in the presentation object aPresentation, and its display attributes  in particular, the number of U isoparameters  are set in the attribute manager aDrawer. aFace is BRepAdaptor_HSurface surface created from a face in a topological shape. which is passed to the function as an argument through the BRepAdaptor_HSurface surface created from it. This is what allows the topological face to be treated as a geometric surface.
Parameters:  aPresentation (Handle_Prs3d_Presentation &) –
 aFace (Handle_BRepAdaptor_HSurface &) –
 aDrawer (Handle_Prs3d_Drawer &) –
Return type: void

static
AddVIso
(*args)¶  Defines a display featuring V isoparameters respectively. Add the surface aFace to the StdPrs_WFRestrictedFace algorithm. This face is found in a shape in the presentation object aPresentation, and its display attributes  in particular, the number of V isoparameters  are set in the attribute manager aDrawer. aFace is BRepAdaptor_HSurface surface created from a face in a topological shape. which is passed to the function as an argument through the BRepAdaptor_HSurface surface created from it. This is what allows the topological face to be treated as a geometric surface.
Parameters:  aPresentation (Handle_Prs3d_Presentation &) –
 aFace (Handle_BRepAdaptor_HSurface &) –
 aDrawer (Handle_Prs3d_Drawer &) –
Return type: void

static
Match
(*args)¶ Parameters:  X (Quantity_Length) –
 Y (Quantity_Length) –
 Z (Quantity_Length) –
 aDistance (Quantity_Length) –
 aFace (Handle_BRepAdaptor_HSurface &) –
 aDrawer (Handle_Prs3d_Drawer &) –
 X –
 Y –
 Z –
 aDistance –
 aFace –
 aDrawer –
 DrawUIso (bool) –
 DrawVIso (bool) –
 aDeflection (Quantity_Length) –
 NBUiso (int) –
 NBViso (int) –
Return type: Return type:

static
MatchUIso
(*args)¶ Parameters:  X (Quantity_Length) –
 Y (Quantity_Length) –
 Z (Quantity_Length) –
 aDistance (Quantity_Length) –
 aFace (Handle_BRepAdaptor_HSurface &) –
 aDrawer (Handle_Prs3d_Drawer &) –
Return type:

static
MatchVIso
(*args)¶ Parameters:  X (Quantity_Length) –
 Y (Quantity_Length) –
 Z (Quantity_Length) –
 aDistance (Quantity_Length) –
 aFace (Handle_BRepAdaptor_HSurface &) –
 aDrawer (Handle_Prs3d_Drawer &) –
Return type:

thisown
¶ The membership flag

static

StdPrs_WFDeflectionRestrictedFace_Add
(*args)¶  Defines a display featuring U and V isoparameters. Adds the surface aFace to the StdPrs_WFRestrictedFace algorithm. This face is found in a shape in the presentation object aPresentation, and its display attributes  in particular, the number of U and V isoparameters  are set in the attribute manager aDrawer. aFace is BRepAdaptor_HSurface surface created from a face in a topological shape. which is passed as an argument through the BRepAdaptor_HSurface surface created from it. This is what allows the topological face to be treated as a geometric surface.
Parameters:  aPresentation (Handle_Prs3d_Presentation &) –
 aFace (Handle_BRepAdaptor_HSurface &) –
 aDrawer (Handle_Prs3d_Drawer &) –
Return type: void
 Defines a display of a delectionspecified face. The display will feature U and V isoparameters. Adds the topology aShape to the StdPrs_WFRestrictedFace algorithm. This shape is found in the presentation object aPresentation, and its display attributes  except the number of U and V isoparameters  are set in the attribute manager aDrawer. The function sets the number of U and V isoparameters, NBUiso and NBViso, in the shape. To do this, the arguments DrawUIso and DrawVIso must be true. aFace is BRepAdaptor_HSurface surface created from a face in a topological shape. which is passed as an argument through the BRepAdaptor_HSurface surface created from it. This is what allows the topological face to be treated as a geometric surface. Curves give a sequence of face curves, it is used if the PrimitiveArray visualization approach is activated (it is activated by default).
Parameters: Return type: void

StdPrs_WFDeflectionRestrictedFace_AddBox
(*args)¶  Adds box as polyline to the presentation object
Parameters:  thePrs (Handle_Prs3d_Presentation &) –
 theBndBox (Bnd_Box &) –
 theDrawer (Handle_Prs3d_Drawer &) –
Return type: void

StdPrs_WFDeflectionRestrictedFace_AddUIso
(*args)¶  Defines a display featuring U isoparameters respectively. Add the surface aFace to the StdPrs_WFRestrictedFace algorithm. This face is found in a shape in the presentation object aPresentation, and its display attributes  in particular, the number of U isoparameters  are set in the attribute manager aDrawer. aFace is BRepAdaptor_HSurface surface created from a face in a topological shape. which is passed to the function as an argument through the BRepAdaptor_HSurface surface created from it. This is what allows the topological face to be treated as a geometric surface.
Parameters:  aPresentation (Handle_Prs3d_Presentation &) –
 aFace (Handle_BRepAdaptor_HSurface &) –
 aDrawer (Handle_Prs3d_Drawer &) –
Return type: void

StdPrs_WFDeflectionRestrictedFace_AddVIso
(*args)¶  Defines a display featuring V isoparameters respectively. Add the surface aFace to the StdPrs_WFRestrictedFace algorithm. This face is found in a shape in the presentation object aPresentation, and its display attributes  in particular, the number of V isoparameters  are set in the attribute manager aDrawer. aFace is BRepAdaptor_HSurface surface created from a face in a topological shape. which is passed to the function as an argument through the BRepAdaptor_HSurface surface created from it. This is what allows the topological face to be treated as a geometric surface.
Parameters:  aPresentation (Handle_Prs3d_Presentation &) –
 aFace (Handle_BRepAdaptor_HSurface &) –
 aDrawer (Handle_Prs3d_Drawer &) –
Return type: void

StdPrs_WFDeflectionRestrictedFace_Match
(*args)¶ Parameters:  X (Quantity_Length) –
 Y (Quantity_Length) –
 Z (Quantity_Length) –
 aDistance (Quantity_Length) –
 aFace (Handle_BRepAdaptor_HSurface &) –
 aDrawer (Handle_Prs3d_Drawer &) –
 X –
 Y –
 Z –
 aDistance –
 aFace –
 aDrawer –
 DrawUIso (bool) –
 DrawVIso (bool) –
 aDeflection (Quantity_Length) –
 NBUiso (int) –
 NBViso (int) –
Return type: Return type:

StdPrs_WFDeflectionRestrictedFace_MatchUIso
(*args)¶ Parameters:  X (Quantity_Length) –
 Y (Quantity_Length) –
 Z (Quantity_Length) –
 aDistance (Quantity_Length) –
 aFace (Handle_BRepAdaptor_HSurface &) –
 aDrawer (Handle_Prs3d_Drawer &) –
Return type:

StdPrs_WFDeflectionRestrictedFace_MatchVIso
(*args)¶ Parameters:  X (Quantity_Length) –
 Y (Quantity_Length) –
 Z (Quantity_Length) –
 aDistance (Quantity_Length) –
 aFace (Handle_BRepAdaptor_HSurface &) –
 aDrawer (Handle_Prs3d_Drawer &) –
Return type:

class
StdPrs_WFDeflectionShape
(*args, **kwargs)¶ Bases:
OCC.Prs3d.Prs3d_Root

static
Add
(*args)¶  Add shape to presentation
Parameters:  thePrs (Handle_Prs3d_Presentation &) –
 theShape (TopoDS_Shape &) –
 theDrawer (Handle_Prs3d_Drawer &) –
Return type: inline void

static
PickCurve
(*args)¶ Parameters:  theX (Quantity_Length) –
 theY (Quantity_Length) –
 theZ (Quantity_Length) –
 theDistance (Quantity_Length) –
 theShape (TopoDS_Shape &) –
 theDrawer (Handle_Prs3d_Drawer &) –
Return type: inline Handle_TopTools_HSequenceOfShape

static
PickPatch
(*args)¶ Parameters:  theX (Quantity_Length) –
 theY (Quantity_Length) –
 theZ (Quantity_Length) –
 theDistance (Quantity_Length) –
 theShape (TopoDS_Shape &) –
 theDrawer (Handle_Prs3d_Drawer &) –
Return type: inline Handle_TopTools_HSequenceOfShape

thisown
¶ The membership flag

static

StdPrs_WFDeflectionShape_Add
(*args)¶  Add shape to presentation
Parameters:  thePrs (Handle_Prs3d_Presentation &) –
 theShape (TopoDS_Shape &) –
 theDrawer (Handle_Prs3d_Drawer &) –
Return type: inline void

StdPrs_WFDeflectionShape_PickCurve
(*args)¶ Parameters:  theX (Quantity_Length) –
 theY (Quantity_Length) –
 theZ (Quantity_Length) –
 theDistance (Quantity_Length) –
 theShape (TopoDS_Shape &) –
 theDrawer (Handle_Prs3d_Drawer &) –
Return type: inline Handle_TopTools_HSequenceOfShape

StdPrs_WFDeflectionShape_PickPatch
(*args)¶ Parameters:  theX (Quantity_Length) –
 theY (Quantity_Length) –
 theZ (Quantity_Length) –
 theDistance (Quantity_Length) –
 theShape (TopoDS_Shape &) –
 theDrawer (Handle_Prs3d_Drawer &) –
Return type: inline Handle_TopTools_HSequenceOfShape

class
StdPrs_WFDeflectionSurface
¶ Bases:
OCC.Prs3d.Prs3d_Root

static
Add
(*args)¶  Adds the surface aSurface to the presentation object aPresentation, and defines its boundaries and isoparameters. The shape’s display attributes are set in the attribute manager aDrawer. These include whether deflection is absolute or relative to the size of the shape. The surface aSurface is a surface object from Adaptor, and provides data from a Geom surface. This makes it possible to use the surface in a geometric algorithm. Note that this surface object is manipulated by handles.
Parameters:  aPresentation (Handle_Prs3d_Presentation &) –
 aSurface (Handle_Adaptor3d_HSurface &) –
 aDrawer (Handle_Prs3d_Drawer &) –
Return type: void

thisown
¶ The membership flag

static

StdPrs_WFDeflectionSurface_Add
(*args)¶  Adds the surface aSurface to the presentation object aPresentation, and defines its boundaries and isoparameters. The shape’s display attributes are set in the attribute manager aDrawer. These include whether deflection is absolute or relative to the size of the shape. The surface aSurface is a surface object from Adaptor, and provides data from a Geom surface. This makes it possible to use the surface in a geometric algorithm. Note that this surface object is manipulated by handles.
Parameters:  aPresentation (Handle_Prs3d_Presentation &) –
 aSurface (Handle_Adaptor3d_HSurface &) –
 aDrawer (Handle_Prs3d_Drawer &) –
Return type: void

class
StdPrs_WFPoleSurface
¶ Bases:
OCC.Prs3d.Prs3d_Root

static
Add
(*args)¶  Adds the surface aSurface to the presentation object aPresentation. The shape’s display attributes are set in the attribute manager aDrawer. The surface aSurface is a surface object from Adaptor3d, and provides data from a Geom surface. This makes it possible to use the surface in a geometric algorithm.
Parameters:  aPresentation (Handle_Prs3d_Presentation &) –
 aSurface (Adaptor3d_Surface &) –
 aDrawer (Handle_Prs3d_Drawer &) –
Return type: void

thisown
¶ The membership flag

static

StdPrs_WFPoleSurface_Add
(*args)¶  Adds the surface aSurface to the presentation object aPresentation. The shape’s display attributes are set in the attribute manager aDrawer. The surface aSurface is a surface object from Adaptor3d, and provides data from a Geom surface. This makes it possible to use the surface in a geometric algorithm.
Parameters:  aPresentation (Handle_Prs3d_Presentation &) –
 aSurface (Adaptor3d_Surface &) –
 aDrawer (Handle_Prs3d_Drawer &) –
Return type: void

class
StdPrs_WFRestrictedFace
¶ Bases:
OCC.Prs3d.Prs3d_Root

static
Add
(*args)¶ Parameters:  thePresentation (Handle_Prs3d_Presentation &) –
 theFace (Handle_BRepAdaptor_HSurface &) –
 theDrawUIso (bool) –
 theDrawVIso (bool) –
 theDeflection (Quantity_Length) –
 theNbUIso (int) –
 theNbVIso (int) –
 theDrawer (Handle_Prs3d_Drawer &) –
 theCurves (Prs3d_NListOfSequenceOfPnt &) –
 thePresentation –
 theFace –
 theDrawer –
Return type: void
Return type: void

static
AddUIso
(*args)¶ Parameters:  thePresentation (Handle_Prs3d_Presentation &) –
 theFace (Handle_BRepAdaptor_HSurface &) –
 theDrawer (Handle_Prs3d_Drawer &) –
Return type: void

static
AddVIso
(*args)¶ Parameters:  thePresentation (Handle_Prs3d_Presentation &) –
 theFace (Handle_BRepAdaptor_HSurface &) –
 theDrawer (Handle_Prs3d_Drawer &) –
Return type: void

static
Match
(*args)¶ Parameters:  theX (Quantity_Length) –
 theY (Quantity_Length) –
 theZ (Quantity_Length) –
 theDistance (Quantity_Length) –
 theFace (Handle_BRepAdaptor_HSurface &) –
 theDrawUIso (bool) –
 theDrawVIso (bool) –
 theDeflection (Quantity_Length) –
 theNbUIso (int) –
 theNbVIso (int) –
 theDrawer (Handle_Prs3d_Drawer &) –
 theX –
 theY –
 theZ –
 theDistance –
 theFace –
 theDrawer –
Return type: Return type:

static
MatchUIso
(*args)¶ Parameters:  theX (Quantity_Length) –
 theY (Quantity_Length) –
 theZ (Quantity_Length) –
 theDistance (Quantity_Length) –
 theFace (Handle_BRepAdaptor_HSurface &) –
 theDrawer (Handle_Prs3d_Drawer &) –
Return type:

static
MatchVIso
(*args)¶ Parameters:  theX (Quantity_Length) –
 theY (Quantity_Length) –
 theZ (Quantity_Length) –
 theDistance (Quantity_Length) –
 theFace (Handle_BRepAdaptor_HSurface &) –
 theDrawer (Handle_Prs3d_Drawer &) –
Return type:

thisown
¶ The membership flag

static

StdPrs_WFRestrictedFace_Add
(*args)¶ Parameters:  thePresentation (Handle_Prs3d_Presentation &) –
 theFace (Handle_BRepAdaptor_HSurface &) –
 theDrawUIso (bool) –
 theDrawVIso (bool) –
 theDeflection (Quantity_Length) –
 theNbUIso (int) –
 theNbVIso (int) –
 theDrawer (Handle_Prs3d_Drawer &) –
 theCurves (Prs3d_NListOfSequenceOfPnt &) –
 thePresentation –
 theFace –
 theDrawer –
Return type: void
Return type: void

StdPrs_WFRestrictedFace_AddUIso
(*args)¶ Parameters:  thePresentation (Handle_Prs3d_Presentation &) –
 theFace (Handle_BRepAdaptor_HSurface &) –
 theDrawer (Handle_Prs3d_Drawer &) –
Return type: void

StdPrs_WFRestrictedFace_AddVIso
(*args)¶ Parameters:  thePresentation (Handle_Prs3d_Presentation &) –
 theFace (Handle_BRepAdaptor_HSurface &) –
 theDrawer (Handle_Prs3d_Drawer &) –
Return type: void

StdPrs_WFRestrictedFace_Match
(*args)¶ Parameters:  theX (Quantity_Length) –
 theY (Quantity_Length) –
 theZ (Quantity_Length) –
 theDistance (Quantity_Length) –
 theFace (Handle_BRepAdaptor_HSurface &) –
 theDrawUIso (bool) –
 theDrawVIso (bool) –
 theDeflection (Quantity_Length) –
 theNbUIso (int) –
 theNbVIso (int) –
 theDrawer (Handle_Prs3d_Drawer &) –
 theX –
 theY –
 theZ –
 theDistance –
 theFace –
 theDrawer –
Return type: Return type:

StdPrs_WFRestrictedFace_MatchUIso
(*args)¶ Parameters:  theX (Quantity_Length) –
 theY (Quantity_Length) –
 theZ (Quantity_Length) –
 theDistance (Quantity_Length) –
 theFace (Handle_BRepAdaptor_HSurface &) –
 theDrawer (Handle_Prs3d_Drawer &) –
Return type:

StdPrs_WFRestrictedFace_MatchVIso
(*args)¶ Parameters:  theX (Quantity_Length) –
 theY (Quantity_Length) –
 theZ (Quantity_Length) –
 theDistance (Quantity_Length) –
 theFace (Handle_BRepAdaptor_HSurface &) –
 theDrawer (Handle_Prs3d_Drawer &) –
Return type:

class
StdPrs_WFShape
(*args, **kwargs)¶ Bases:
OCC.Prs3d.Prs3d_Root

static
Add
(*args)¶  Add shape to presentation
Parameters:  thePrs (Handle_Prs3d_Presentation &) –
 theShape (TopoDS_Shape &) –
 theDrawer (Handle_Prs3d_Drawer &) –
Return type: inline void

static
PickCurve
(*args)¶ Parameters:  theX (Quantity_Length) –
 theY (Quantity_Length) –
 theZ (Quantity_Length) –
 theDistance (Quantity_Length) –
 theShape (TopoDS_Shape &) –
 theDrawer (Handle_Prs3d_Drawer &) –
Return type: inline Handle_TopTools_HSequenceOfShape

static
PickPatch
(*args)¶ Parameters:  theX (Quantity_Length) –
 theY (Quantity_Length) –
 theZ (Quantity_Length) –
 theDistance (Quantity_Length) –
 theShape (TopoDS_Shape &) –
 theDrawer (Handle_Prs3d_Drawer &) –
Return type: inline Handle_TopTools_HSequenceOfShape

thisown
¶ The membership flag

static

StdPrs_WFShape_Add
(*args)¶  Add shape to presentation
Parameters:  thePrs (Handle_Prs3d_Presentation &) –
 theShape (TopoDS_Shape &) –
 theDrawer (Handle_Prs3d_Drawer &) –
Return type: inline void

StdPrs_WFShape_PickCurve
(*args)¶ Parameters:  theX (Quantity_Length) –
 theY (Quantity_Length) –
 theZ (Quantity_Length) –
 theDistance (Quantity_Length) –
 theShape (TopoDS_Shape &) –
 theDrawer (Handle_Prs3d_Drawer &) –
Return type: inline Handle_TopTools_HSequenceOfShape

StdPrs_WFShape_PickPatch
(*args)¶ Parameters:  theX (Quantity_Length) –
 theY (Quantity_Length) –
 theZ (Quantity_Length) –
 theDistance (Quantity_Length) –
 theShape (TopoDS_Shape &) –
 theDrawer (Handle_Prs3d_Drawer &) –
Return type: inline Handle_TopTools_HSequenceOfShape

class
StdPrs_WFSurface
¶ Bases:
OCC.Prs3d.Prs3d_Root

static
Add
(*args)¶  Draws a surface by drawing the isoparametric curves with respect to a fixed number of points given by the Drawer. The number of isoparametric curves to be drawn and their color are controlled by the furnished Drawer.
Parameters:  aPresentation (Handle_Prs3d_Presentation &) –
 aSurface (Handle_Adaptor3d_HSurface &) –
 aDrawer (Handle_Prs3d_Drawer &) –
Return type: void

thisown
¶ The membership flag

static

StdPrs_WFSurface_Add
(*args)¶  Draws a surface by drawing the isoparametric curves with respect to a fixed number of points given by the Drawer. The number of isoparametric curves to be drawn and their color are controlled by the furnished Drawer.
Parameters:  aPresentation (Handle_Prs3d_Presentation &) –
 aSurface (Handle_Adaptor3d_HSurface &) –
 aDrawer (Handle_Prs3d_Drawer &) –
Return type: void

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

advance
()¶

copy
()¶

decr
()¶

distance
()¶

equal
()¶

incr
()¶

next
()¶

previous
()¶

thisown
¶ The membership flag

value
()¶


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