OCC.BRep module

class BRep_Builder

Bases: OCC.TopoDS.TopoDS_Builder

Continuity()
  • Sets the geometric continuity on the edge.
Parameters:
  • E (TopoDS_Edge &) –
  • F1 (TopoDS_Face &) –
  • F2 (TopoDS_Face &) –
  • C (GeomAbs_Shape) –
Return type:

None

  • Sets the geometric continuity on the edge.
Parameters:
  • E (TopoDS_Edge &) –
  • S1 (Handle_Geom_Surface &) –
  • S2 (Handle_Geom_Surface &) –
  • L1 (TopLoc_Location &) –
  • L2 (TopLoc_Location &) –
  • C (GeomAbs_Shape) –
Return type:

None

Degenerated()
  • Sets the degenerated flag for the edge <E>.
Parameters:
  • E (TopoDS_Edge &) –
  • D (bool) –
Return type:

None

MakeEdge()
  • Makes an undefined Edge (no geometry).
Parameters:E (TopoDS_Edge &) –
Return type:None
  • Makes an Edge with a curve.
Parameters:
  • E (TopoDS_Edge &) –
  • C (Handle_Geom_Curve &) –
  • Tol (float) –
Return type:

None

  • Makes an Edge with a curve and a location.
Parameters:
  • E (TopoDS_Edge &) –
  • C (Handle_Geom_Curve &) –
  • L (TopLoc_Location &) –
  • Tol (float) –
Return type:

None

  • Makes an Edge with a polygon 3d.
Parameters:
  • E (TopoDS_Edge &) –
  • P (Handle_Poly_Polygon3D &) –
Return type:

None

  • makes an Edge polygon on Triangulation.
Parameters:
  • E (TopoDS_Edge &) –
  • N (Handle_Poly_PolygonOnTriangulation &) –
  • T (Handle_Poly_Triangulation &) –
Return type:

None

  • makes an Edge polygon on Triangulation.
Parameters:
  • E (TopoDS_Edge &) –
  • N (Handle_Poly_PolygonOnTriangulation &) –
  • T (Handle_Poly_Triangulation &) –
  • L (TopLoc_Location &) –
Return type:

None

MakeFace()
  • Makes an undefined Face.
Parameters:F (TopoDS_Face &) –
Return type:None
  • Makes a Face with a surface.
Parameters:
  • F (TopoDS_Face &) –
  • S (Handle_Geom_Surface &) –
  • Tol (float) –
Return type:

None

  • Makes a Face with a surface and a location.
Parameters:
  • F (TopoDS_Face &) –
  • S (Handle_Geom_Surface &) –
  • L (TopLoc_Location &) –
  • Tol (float) –
Return type:

None

  • Makes a Face with a triangulation. The triangulation is in the same reference system than the TFace.
Parameters:
  • F (TopoDS_Face &) –
  • T (Handle_Poly_Triangulation &) –
Return type:

None

MakeVertex()
  • Makes an udefined vertex without geometry.
Parameters:V (TopoDS_Vertex &) –
Return type:None
  • Makes a vertex from a 3D point.
Parameters:
  • V (TopoDS_Vertex &) –
  • P (gp_Pnt) –
  • Tol (float) –
Return type:

None

NaturalRestriction()
  • Sets the NaturalRestriction flag of the face.
Parameters:
  • F (TopoDS_Face &) –
  • N (bool) –
Return type:

None

Range()
  • Sets the range of the 3d curve if Only3d=True, otherwise sets the range to all the representations
Parameters:
  • E (TopoDS_Edge &) –
  • First (float) –
  • Last (float) –
  • Only3d (bool) – default value is Standard_False
Return type:

None

  • Sets the range of the edge on the pcurve on the surface.
Parameters:
  • E (TopoDS_Edge &) –
  • S (Handle_Geom_Surface &) –
  • L (TopLoc_Location &) –
  • First (float) –
  • Last (float) –
Return type:

None

  • Sets the range of the edge on the pcurve on the face.
Parameters:
  • E (TopoDS_Edge &) –
  • F (TopoDS_Face &) –
  • First (float) –
  • Last (float) –
Return type:

None

SameParameter()
  • Sets the same parameter flag for the edge <E>.
Parameters:
  • E (TopoDS_Edge &) –
  • S (bool) –
Return type:

None

SameRange()
  • Sets the same range flag for the edge <E>.
Parameters:
  • E (TopoDS_Edge &) –
  • S (bool) –
Return type:

None

Transfert()
  • Add to <Eout> the geometric representations of <Ein>.
Parameters:
  • Ein (TopoDS_Edge &) –
  • Eout (TopoDS_Edge &) –
Return type:

None

  • Transfert the parameters of Vin on Ein as the parameter of Vout on Eout.
Parameters:
  • Ein (TopoDS_Edge &) –
  • Eout (TopoDS_Edge &) –
  • Vin (TopoDS_Vertex &) –
  • Vout (TopoDS_Vertex &) –
Return type:

None

UpdateEdge()
  • Sets a 3D curve for the edge. If <C> is a null handle, remove any existing 3d curve.
Parameters:
  • E (TopoDS_Edge &) –
  • C (Handle_Geom_Curve &) –
  • Tol (float) –
Return type:

None

  • Sets a 3D curve for the edge. If <C> is a null handle, remove any existing 3d curve.
Parameters:
  • E (TopoDS_Edge &) –
  • C (Handle_Geom_Curve &) –
  • L (TopLoc_Location &) –
  • Tol (float) –
Return type:

None

  • Sets a pcurve for the edge on the face. If <C> is a null handle, remove any existing pcurve.
Parameters:
  • E (TopoDS_Edge &) –
  • C (Handle_Geom2d_Curve &) –
  • F (TopoDS_Face &) –
  • Tol (float) –
Return type:

None

  • Sets pcurves for the edge on the closed face. If <C1> or <C2> is a null handle, remove any existing pcurve.
Parameters:
  • E (TopoDS_Edge &) –
  • C1 (Handle_Geom2d_Curve &) –
  • C2 (Handle_Geom2d_Curve &) –
  • F (TopoDS_Face &) –
  • Tol (float) –
Return type:

None

  • Sets a pcurve for the edge on the face. If <C> is a null handle, remove any existing pcurve.
Parameters:
  • E (TopoDS_Edge &) –
  • C (Handle_Geom2d_Curve &) –
  • S (Handle_Geom_Surface &) –
  • L (TopLoc_Location &) –
  • Tol (float) –
Return type:

None

  • Sets a pcurve for the edge on the face. If <C> is a null handle, remove any existing pcurve. Sets UV bounds for curve repsentation
Parameters:
  • E (TopoDS_Edge &) –
  • C (Handle_Geom2d_Curve &) –
  • S (Handle_Geom_Surface &) –
  • L (TopLoc_Location &) –
  • Tol (float) –
  • Pf (gp_Pnt2d) –
  • Pl (gp_Pnt2d) –
Return type:

None

  • Sets pcurves for the edge on the closed surface. <C1> or <C2> is a null handle, remove any existing pcurve.
Parameters:
  • E (TopoDS_Edge &) –
  • C1 (Handle_Geom2d_Curve &) –
  • C2 (Handle_Geom2d_Curve &) –
  • S (Handle_Geom_Surface &) –
  • L (TopLoc_Location &) –
  • Tol (float) –
Return type:

None

  • Sets pcurves for the edge on the closed surface. <C1> or <C2> is a null handle, remove any existing pcurve. Sets UV bounds for curve repsentation
Parameters:
  • E (TopoDS_Edge &) –
  • C1 (Handle_Geom2d_Curve &) –
  • C2 (Handle_Geom2d_Curve &) –
  • S (Handle_Geom_Surface &) –
  • L (TopLoc_Location &) –
  • Tol (float) –
  • Pf (gp_Pnt2d) –
  • Pl (gp_Pnt2d) –
Return type:

None

  • Changes an Edge 3D polygon. A null Polygon removes the 3d Polygon.
Parameters:
  • E (TopoDS_Edge &) –
  • P (Handle_Poly_Polygon3D &) –
Return type:

None

  • Changes an Edge 3D polygon. A null Polygon removes the 3d Polygon.
Parameters:
  • E (TopoDS_Edge &) –
  • P (Handle_Poly_Polygon3D &) –
  • L (TopLoc_Location &) –
Return type:

None

  • Changes an Edge polygon on Triangulation.
Parameters:
  • E (TopoDS_Edge &) –
  • N (Handle_Poly_PolygonOnTriangulation &) –
  • T (Handle_Poly_Triangulation &) –
Return type:

None

  • Changes an Edge polygon on Triangulation.
Parameters:
  • E (TopoDS_Edge &) –
  • N (Handle_Poly_PolygonOnTriangulation &) –
  • T (Handle_Poly_Triangulation &) –
  • L (TopLoc_Location &) –
Return type:

None

  • Changes an Edge polygon on Triangulation.
Parameters:
  • E (TopoDS_Edge &) –
  • N1 (Handle_Poly_PolygonOnTriangulation &) –
  • N2 (Handle_Poly_PolygonOnTriangulation &) –
  • T (Handle_Poly_Triangulation &) –
Return type:

None

  • Changes an Edge polygon on Triangulation.
Parameters:
  • E (TopoDS_Edge &) –
  • N1 (Handle_Poly_PolygonOnTriangulation &) –
  • N2 (Handle_Poly_PolygonOnTriangulation &) –
  • T (Handle_Poly_Triangulation &) –
  • L (TopLoc_Location &) –
Return type:

None

  • Changes Edge polygon on a face.
Parameters:
  • E (TopoDS_Edge &) –
  • P (Handle_Poly_Polygon2D &) –
  • S (TopoDS_Face &) –
Return type:

None

  • Changes Edge polygon on a face.
Parameters:
  • E (TopoDS_Edge &) –
  • P (Handle_Poly_Polygon2D &) –
  • S (Handle_Geom_Surface &) –
  • T (TopLoc_Location &) –
Return type:

None

  • Changes Edge polygons on a face. //! A null Polygon removes the 2d Polygon.
Parameters:
  • E (TopoDS_Edge &) –
  • P1 (Handle_Poly_Polygon2D &) –
  • P2 (Handle_Poly_Polygon2D &) –
  • S (TopoDS_Face &) –
Return type:

None

  • Changes Edge polygons on a face. //! A null Polygon removes the 2d Polygon.
Parameters:
  • E (TopoDS_Edge &) –
  • P1 (Handle_Poly_Polygon2D &) –
  • P2 (Handle_Poly_Polygon2D &) –
  • S (Handle_Geom_Surface &) –
  • L (TopLoc_Location &) –
Return type:

None

  • Updates the edge tolerance.
Parameters:
  • E (TopoDS_Edge &) –
  • Tol (float) –
Return type:

None

UpdateFace()
  • Updates the face F using the tolerance value Tol, surface S and location Location.
Parameters:
  • F (TopoDS_Face &) –
  • S (Handle_Geom_Surface &) –
  • L (TopLoc_Location &) –
  • Tol (float) –
Return type:

None

  • Changes a face triangulation. //! A null Triangulation removes the triangulation.
Parameters:
  • F (TopoDS_Face &) –
  • T (Handle_Poly_Triangulation &) –
Return type:

None

  • Updates the face Tolerance.
Parameters:
  • F (TopoDS_Face &) –
  • Tol (float) –
Return type:

None

UpdateVertex()
  • Sets a 3D point on the vertex.
Parameters:
  • V (TopoDS_Vertex &) –
  • P (gp_Pnt) –
  • Tol (float) –
Return type:

None

  • Sets the parameter for the vertex on the edge curves.
Parameters:
  • V (TopoDS_Vertex &) –
  • P (float) –
  • E (TopoDS_Edge &) –
  • Tol (float) –
Return type:

None

  • Sets the parameter for the vertex on the edge pcurve on the face.
Parameters:
  • V (TopoDS_Vertex &) –
  • P (float) –
  • E (TopoDS_Edge &) –
  • F (TopoDS_Face &) –
  • Tol (float) –
Return type:

None

  • Sets the parameter for the vertex on the edge pcurve on the surface.
Parameters:
  • V (TopoDS_Vertex &) –
  • P (float) –
  • E (TopoDS_Edge &) –
  • S (Handle_Geom_Surface &) –
  • L (TopLoc_Location &) –
  • Tol (float) –
Return type:

None

  • Sets the parameters for the vertex on the face.
Parameters:
  • Ve (TopoDS_Vertex &) –
  • U (float) –
  • V (float) –
  • F (TopoDS_Face &) –
  • Tol (float) –
Return type:

None

  • Updates the vertex tolerance.
Parameters:
  • V (TopoDS_Vertex &) –
  • Tol (float) –
Return type:

None

thisown

The membership flag

class BRep_Curve3D(*args)

Bases: OCC.BRep.BRep_GCurve

Parameters:
  • C (Handle_Geom_Curve &) –
  • L (TopLoc_Location &) –
Return type:

None

Curve3D()
Return type:Handle_Geom_Curve
Parameters:C (Handle_Geom_Curve &) –
Return type:void
GetHandle()
thisown

The membership flag

class BRep_CurveOn2Surfaces(*args)

Bases: OCC.BRep.BRep_CurveRepresentation

Parameters:
  • S1 (Handle_Geom_Surface &) –
  • S2 (Handle_Geom_Surface &) –
  • L1 (TopLoc_Location &) –
  • L2 (TopLoc_Location &) –
  • C (GeomAbs_Shape) –
Return type:

None

Continuity()
Return type:GeomAbs_Shape
Parameters:C (GeomAbs_Shape) –
Return type:void
D0()
  • Raises an error.
Parameters:
Return type:

None

GetHandle()
IsRegularity()
  • Returns True.
Return type:bool
  • A curve on two surfaces (continuity).
Parameters:
  • S1 (Handle_Geom_Surface &) –
  • S2 (Handle_Geom_Surface &) –
  • L1 (TopLoc_Location &) –
  • L2 (TopLoc_Location &) –
Return type:

bool

Surface()
Return type:Handle_Geom_Surface
Surface2()
Return type:Handle_Geom_Surface
thisown

The membership flag

class BRep_CurveOnClosedSurface(*args)

Bases: OCC.BRep.BRep_CurveOnSurface

Parameters:
  • PC1 (Handle_Geom2d_Curve &) –
  • PC2 (Handle_Geom2d_Curve &) –
  • S (Handle_Geom_Surface &) –
  • L (TopLoc_Location &) –
  • C (GeomAbs_Shape) –
Return type:

None

Continuity()
Return type:GeomAbs_Shape
Parameters:C (GeomAbs_Shape) –
Return type:void
GetHandle()
IsRegularity()
  • Returns True
Return type:bool
  • A curve on two surfaces (continuity).
Parameters:
  • S1 (Handle_Geom_Surface &) –
  • S2 (Handle_Geom_Surface &) –
  • L1 (TopLoc_Location &) –
  • L2 (TopLoc_Location &) –
Return type:

bool

PCurve2()
Return type:Handle_Geom2d_Curve
Parameters:C (Handle_Geom2d_Curve &) –
Return type:void
SetUVPoints2()
Parameters:
Return type:

None

Surface2()
  • Returns Surface()
Return type:Handle_Geom_Surface
UVPoints2()
Parameters:
Return type:

None

thisown

The membership flag

class BRep_CurveOnSurface(*args)

Bases: OCC.BRep.BRep_GCurve

Parameters:
  • PC (Handle_Geom2d_Curve &) –
  • S (Handle_Geom_Surface &) –
  • L (TopLoc_Location &) –
Return type:

None

GetHandle()
IsCurveOnSurface()
  • Returns True.
Return type:bool
  • A curve in the parametric space of a surface.
Parameters:
  • S (Handle_Geom_Surface &) –
  • L (TopLoc_Location &) –
Return type:

bool

PCurve()
Return type:Handle_Geom2d_Curve
Parameters:C (Handle_Geom2d_Curve &) –
Return type:void
SetUVPoints()
Parameters:
Return type:

None

Surface()
Return type:Handle_Geom_Surface
UVPoints()
Parameters:
Return type:

None

thisown

The membership flag

class BRep_CurveRepresentation(*args, **kwargs)

Bases: OCC.MMgt.MMgt_TShared

Continuity()
Return type:GeomAbs_Shape
Parameters:C (GeomAbs_Shape) –
Return type:void
Copy()
  • Return a copy of this representation.
Return type:Handle_BRep_CurveRepresentation
Curve3D()
Return type:Handle_Geom_Curve
Parameters:C (Handle_Geom_Curve &) –
Return type:void
GetHandle()
IsCurve3D()
  • A 3D curve representation.
Return type:bool
IsCurveOnClosedSurface()
  • A curve with two parametric curves on the same surface.
Return type:bool
IsCurveOnSurface()
  • A curve in the parametric space of a surface.
Return type:bool
  • Is it a curve in the parametric space of <S> with location <L>.
Parameters:
  • S (Handle_Geom_Surface &) –
  • L (TopLoc_Location &) –
Return type:

bool

IsPolygon3D()
  • A 3D polygon representation.
Return type:bool
IsPolygonOnClosedSurface()
  • Two 2D polygon representations in the parametric space of a surface.
Return type:bool
IsPolygonOnClosedTriangulation()
  • A representation by two arrays of nodes on a triangulation.
Return type:bool
IsPolygonOnSurface()
  • A polygon in the parametric space of a surface.
Return type:bool
  • Is it a polygon in the parametric space of <S> with location <L>.
Parameters:
  • S (Handle_Geom_Surface &) –
  • L (TopLoc_Location &) –
Return type:

bool

IsPolygonOnTriangulation()
  • A representation by an array of nodes on a triangulation.
Return type:bool
  • Is it a polygon in the definition of <T> with location <L>.
Parameters:
  • T (Handle_Poly_Triangulation &) –
  • L (TopLoc_Location &) –
Return type:

bool

IsRegularity()
  • A continuity between two surfaces.
Return type:bool
  • Is it a regularity between <S1> and <S2> with location <L1> and <L2>.
Parameters:
  • S1 (Handle_Geom_Surface &) –
  • S2 (Handle_Geom_Surface &) –
  • L1 (TopLoc_Location &) –
  • L2 (TopLoc_Location &) –
Return type:

bool

Location()
Return type:TopLoc_Location
Parameters:L (TopLoc_Location &) –
Return type:None
Location2()
Return type:TopLoc_Location
PCurve()
Return type:Handle_Geom2d_Curve
Parameters:C (Handle_Geom2d_Curve &) –
Return type:void
PCurve2()
Return type:Handle_Geom2d_Curve
Parameters:C (Handle_Geom2d_Curve &) –
Return type:void
Polygon()
Return type:Handle_Poly_Polygon2D
Parameters:P (Handle_Poly_Polygon2D &) –
Return type:void
Polygon2()
Return type:Handle_Poly_Polygon2D
Parameters:P (Handle_Poly_Polygon2D &) –
Return type:void
Polygon3D()
Return type:Handle_Poly_Polygon3D
Parameters:P (Handle_Poly_Polygon3D &) –
Return type:void
PolygonOnTriangulation()
Return type:Handle_Poly_PolygonOnTriangulation
Parameters:P (Handle_Poly_PolygonOnTriangulation &) –
Return type:void
PolygonOnTriangulation2()
Return type:Handle_Poly_PolygonOnTriangulation
Parameters:P2 (Handle_Poly_PolygonOnTriangulation &) –
Return type:void
Surface()
Return type:Handle_Geom_Surface
Surface2()
Return type:Handle_Geom_Surface
Triangulation()
Return type:Handle_Poly_Triangulation
thisown

The membership flag

class BRep_GCurve(*args, **kwargs)

Bases: OCC.BRep.BRep_CurveRepresentation

D0()
  • Computes the point at parameter U.
Parameters:
Return type:

void

First()
Return type:float
Parameters:F (float) –
Return type:None
GetHandle()
Last()
Return type:float
Parameters:L (float) –
Return type:None
Range()
Parameters:
  • First (float &) –
  • Last (float &) –
Return type:

None

SetRange()
Parameters:
Return type:

None

Update()
  • Recomputes any derived data after a modification. This is called when the range is modified.
Return type:void
thisown

The membership flag

class BRep_ListIteratorOfListOfCurveRepresentation(*args)

Bases: object

Return type:None
Parameters:L (BRep_ListOfCurveRepresentation &) –
Return type:None
Initialize()
Parameters:L (BRep_ListOfCurveRepresentation &) –
Return type:None
More()
Return type:bool
Next()
Return type:None
Value()
Return type:Handle_BRep_CurveRepresentation
thisown

The membership flag

class BRep_ListIteratorOfListOfPointRepresentation(*args)

Bases: object

Return type:None
Parameters:L (BRep_ListOfPointRepresentation &) –
Return type:None
Initialize()
Parameters:L (BRep_ListOfPointRepresentation &) –
Return type:None
More()
Return type:bool
Next()
Return type:None
Value()
Return type:Handle_BRep_PointRepresentation
thisown

The membership flag

class BRep_ListNodeOfListOfCurveRepresentation(*args)

Bases: OCC.TCollection.TCollection_MapNode

Parameters:
  • I (Handle_BRep_CurveRepresentation &) –
  • n (TCollection_MapNodePtr &) –
Return type:

None

GetHandle()
Value()
Return type:Handle_BRep_CurveRepresentation
thisown

The membership flag

class BRep_ListNodeOfListOfPointRepresentation(*args)

Bases: OCC.TCollection.TCollection_MapNode

Parameters:
  • I (Handle_BRep_PointRepresentation &) –
  • n (TCollection_MapNodePtr &) –
Return type:

None

GetHandle()
Value()
Return type:Handle_BRep_PointRepresentation
thisown

The membership flag

class BRep_ListOfCurveRepresentation(*args)

Bases: object

Return type:None
Parameters:Other (BRep_ListOfCurveRepresentation &) –
Return type:None
Append()
Parameters:
  • I (Handle_BRep_CurveRepresentation &) –
  • I
  • theIt (BRep_ListIteratorOfListOfCurveRepresentation &) –
  • Other (BRep_ListOfCurveRepresentation &) –
Return type:

None

Return type:

None

Return type:

None

Assign()
Parameters:Other (BRep_ListOfCurveRepresentation &) –
Return type:None
Clear()
Return type:None
Extent()
Return type:int
First()
Return type:Handle_BRep_CurveRepresentation
InsertAfter()
Parameters:
  • I (Handle_BRep_CurveRepresentation &) –
  • It (BRep_ListIteratorOfListOfCurveRepresentation &) –
  • Other (BRep_ListOfCurveRepresentation &) –
  • It
Return type:

None

Return type:

None

InsertBefore()
Parameters:
  • I (Handle_BRep_CurveRepresentation &) –
  • It (BRep_ListIteratorOfListOfCurveRepresentation &) –
  • Other (BRep_ListOfCurveRepresentation &) –
  • It
Return type:

None

Return type:

None

IsEmpty()
Return type:bool
Last()
Return type:Handle_BRep_CurveRepresentation
Prepend()
Parameters:
  • I (Handle_BRep_CurveRepresentation &) –
  • I
  • theIt (BRep_ListIteratorOfListOfCurveRepresentation &) –
  • Other (BRep_ListOfCurveRepresentation &) –
Return type:

None

Return type:

None

Return type:

None

Remove()
Parameters:It (BRep_ListIteratorOfListOfCurveRepresentation &) –
Return type:None
RemoveFirst()
Return type:None
Set()
Parameters:Other (BRep_ListOfCurveRepresentation &) –
Return type:None
thisown

The membership flag

class BRep_ListOfPointRepresentation(*args)

Bases: object

Return type:None
Parameters:Other (BRep_ListOfPointRepresentation &) –
Return type:None
Append()
Parameters:
  • I (Handle_BRep_PointRepresentation &) –
  • I
  • theIt (BRep_ListIteratorOfListOfPointRepresentation &) –
  • Other (BRep_ListOfPointRepresentation &) –
Return type:

None

Return type:

None

Return type:

None

Assign()
Parameters:Other (BRep_ListOfPointRepresentation &) –
Return type:None
Clear()
Return type:None
Extent()
Return type:int
First()
Return type:Handle_BRep_PointRepresentation
InsertAfter()
Parameters:
  • I (Handle_BRep_PointRepresentation &) –
  • It (BRep_ListIteratorOfListOfPointRepresentation &) –
  • Other (BRep_ListOfPointRepresentation &) –
  • It
Return type:

None

Return type:

None

InsertBefore()
Parameters:
  • I (Handle_BRep_PointRepresentation &) –
  • It (BRep_ListIteratorOfListOfPointRepresentation &) –
  • Other (BRep_ListOfPointRepresentation &) –
  • It
Return type:

None

Return type:

None

IsEmpty()
Return type:bool
Last()
Return type:Handle_BRep_PointRepresentation
Prepend()
Parameters:
  • I (Handle_BRep_PointRepresentation &) –
  • I
  • theIt (BRep_ListIteratorOfListOfPointRepresentation &) –
  • Other (BRep_ListOfPointRepresentation &) –
Return type:

None

Return type:

None

Return type:

None

Remove()
Parameters:It (BRep_ListIteratorOfListOfPointRepresentation &) –
Return type:None
RemoveFirst()
Return type:None
Set()
Parameters:Other (BRep_ListOfPointRepresentation &) –
Return type:None
thisown

The membership flag

class BRep_PointOnCurve(*args)

Bases: OCC.BRep.BRep_PointRepresentation

Parameters:
  • P (float) –
  • C (Handle_Geom_Curve &) –
  • L (TopLoc_Location &) –
Return type:

None

Curve()
Return type:Handle_Geom_Curve
Parameters:C (Handle_Geom_Curve &) –
Return type:void
GetHandle()
IsPointOnCurve()
  • Returns True
Return type:

bool

Parameters:
  • C (Handle_Geom_Curve &) –
  • L (TopLoc_Location &) –
Return type:

bool

thisown

The membership flag

class BRep_PointOnCurveOnSurface(*args)

Bases: OCC.BRep.BRep_PointsOnSurface

Parameters:
  • P (float) –
  • C (Handle_Geom2d_Curve &) –
  • S (Handle_Geom_Surface &) –
  • L (TopLoc_Location &) –
Return type:

None

GetHandle()
IsPointOnCurveOnSurface()
  • Returns True
Return type:

bool

Parameters:
  • PC (Handle_Geom2d_Curve &) –
  • S (Handle_Geom_Surface &) –
  • L (TopLoc_Location &) –
Return type:

bool

PCurve()
Return type:Handle_Geom2d_Curve
Parameters:C (Handle_Geom2d_Curve &) –
Return type:void
thisown

The membership flag

class BRep_PointOnSurface(*args)

Bases: OCC.BRep.BRep_PointsOnSurface

Parameters:
  • P1 (float) –
  • P2 (float) –
  • S (Handle_Geom_Surface &) –
  • L (TopLoc_Location &) –
Return type:

None

GetHandle()
IsPointOnSurface()
Return type:

bool

Parameters:
  • S (Handle_Geom_Surface &) –
  • L (TopLoc_Location &) –
Return type:

bool

Parameter2()
Return type:float
Parameters:P (float) –
Return type:void
thisown

The membership flag

class BRep_PointRepresentation(*args, **kwargs)

Bases: OCC.MMgt.MMgt_TShared

Curve()
Return type:Handle_Geom_Curve
Parameters:C (Handle_Geom_Curve &) –
Return type:void
GetHandle()
IsPointOnCurve()
  • A point on a 3d curve.
Return type:bool
  • A point on the curve <C>.
Parameters:
  • C (Handle_Geom_Curve &) –
  • L (TopLoc_Location &) –
Return type:

bool

IsPointOnCurveOnSurface()
  • A point on a 2d curve on a surface.
Return type:bool
  • A point on the 2d curve <PC> on the surface <S>.
Parameters:
  • PC (Handle_Geom2d_Curve &) –
  • S (Handle_Geom_Surface &) –
  • L (TopLoc_Location &) –
Return type:

bool

IsPointOnSurface()
  • A point on a surface.
Return type:bool
  • A point on the surface <S>.
Parameters:
  • S (Handle_Geom_Surface &) –
  • L (TopLoc_Location &) –
Return type:

bool

Location()
Return type:TopLoc_Location
Parameters:L (TopLoc_Location &) –
Return type:None
PCurve()
Return type:Handle_Geom2d_Curve
Parameters:C (Handle_Geom2d_Curve &) –
Return type:void
Parameter()
Return type:float
Parameters:P (float) –
Return type:None
Parameter2()
Return type:float
Parameters:P (float) –
Return type:void
Surface()
Return type:Handle_Geom_Surface
Parameters:S (Handle_Geom_Surface &) –
Return type:void
thisown

The membership flag

class BRep_PointsOnSurface(*args, **kwargs)

Bases: OCC.BRep.BRep_PointRepresentation

GetHandle()
Surface()
Return type:Handle_Geom_Surface
Parameters:S (Handle_Geom_Surface &) –
Return type:void
thisown

The membership flag

class BRep_Polygon3D(*args)

Bases: OCC.BRep.BRep_CurveRepresentation

Parameters:
  • P (Handle_Poly_Polygon3D &) –
  • L (TopLoc_Location &) –
Return type:

None

GetHandle()
Polygon3D()
Return type:Handle_Poly_Polygon3D
Parameters:P (Handle_Poly_Polygon3D &) –
Return type:void
thisown

The membership flag

class BRep_PolygonOnClosedSurface(*args)

Bases: OCC.BRep.BRep_PolygonOnSurface

Parameters:
  • P1 (Handle_Poly_Polygon2D &) –
  • P2 (Handle_Poly_Polygon2D &) –
  • S (Handle_Geom_Surface &) –
  • L (TopLoc_Location &) –
Return type:

None

GetHandle()
Polygon2()
Return type:Handle_Poly_Polygon2D
Parameters:P (Handle_Poly_Polygon2D &) –
Return type:void
thisown

The membership flag

class BRep_PolygonOnClosedTriangulation(*args)

Bases: OCC.BRep.BRep_PolygonOnTriangulation

Parameters:
  • P1 (Handle_Poly_PolygonOnTriangulation &) –
  • P2 (Handle_Poly_PolygonOnTriangulation &) –
  • Tr (Handle_Poly_Triangulation &) –
  • L (TopLoc_Location &) –
Return type:

None

GetHandle()
PolygonOnTriangulation2()
Parameters:P2 (Handle_Poly_PolygonOnTriangulation &) –
Return type:void
Return type:Handle_Poly_PolygonOnTriangulation
thisown

The membership flag

class BRep_PolygonOnSurface(*args)

Bases: OCC.BRep.BRep_CurveRepresentation

Parameters:
  • P (Handle_Poly_Polygon2D &) –
  • S (Handle_Geom_Surface &) –
  • L (TopLoc_Location &) –
Return type:

None

GetHandle()
IsPolygonOnSurface()
  • A 2D polygon representation in the parametric space of a surface.
Return type:bool
  • A 2D polygon representation in the parametric space of a surface.
Parameters:
  • S (Handle_Geom_Surface &) –
  • L (TopLoc_Location &) –
Return type:

bool

Polygon()
Return type:Handle_Poly_Polygon2D
Parameters:P (Handle_Poly_Polygon2D &) –
Return type:void
Surface()
Return type:Handle_Geom_Surface
thisown

The membership flag

class BRep_PolygonOnTriangulation(*args)

Bases: OCC.BRep.BRep_CurveRepresentation

Parameters:
  • P (Handle_Poly_PolygonOnTriangulation &) –
  • T (Handle_Poly_Triangulation &) –
  • L (TopLoc_Location &) –
Return type:

None

GetHandle()
IsPolygonOnTriangulation()
  • returns True.
Return type:bool
  • Is it a polygon in the definition of <T> with location <L>.
Parameters:
  • T (Handle_Poly_Triangulation &) –
  • L (TopLoc_Location &) –
Return type:

bool

PolygonOnTriangulation()
  • returns True.
Parameters:P (Handle_Poly_PolygonOnTriangulation &) –
Return type:void
Return type:Handle_Poly_PolygonOnTriangulation
Triangulation()
Return type:Handle_Poly_Triangulation
thisown

The membership flag

class BRep_TEdge(*args)

Bases: OCC.TopoDS.TopoDS_TEdge

  • Creates an empty TEdge.
Return type:None
ChangeCurves()
Return type:BRep_ListOfCurveRepresentation
Curves()
Return type:BRep_ListOfCurveRepresentation
Degenerated()
Return type:bool
Parameters:S (bool) –
Return type:None
GetHandle()
SameParameter()
Return type:bool
Parameters:S (bool) –
Return type:None
SameRange()
Return type:bool
Parameters:S (bool) –
Return type:None
Tolerance()
Return type:float
Parameters:T (float) –
Return type:None
UpdateTolerance()
  • Sets the tolerance to the max of <T> and the current tolerance.
Parameters:T (float) –
Return type:None
thisown

The membership flag

class BRep_TFace(*args)

Bases: OCC.TopoDS.TopoDS_TFace

  • Creates an empty TFace.
Return type:None
GetHandle()
Location()
Return type:TopLoc_Location
Parameters:L (TopLoc_Location &) –
Return type:None
NaturalRestriction()
Return type:bool
Parameters:N (bool) –
Return type:None
Surface()
Return type:Handle_Geom_Surface
Parameters:S (Handle_Geom_Surface &) –
Return type:None
Tolerance()
Return type:float
Parameters:T (float) –
Return type:None
Triangulation()
Return type:Handle_Poly_Triangulation
Parameters:T (Handle_Poly_Triangulation &) –
Return type:None
thisown

The membership flag

class BRep_TVertex(*args)

Bases: OCC.TopoDS.TopoDS_TVertex

Return type:None
ChangePoints()
Return type:BRep_ListOfPointRepresentation
GetHandle()
Pnt()
Return type:gp_Pnt
Parameters:P (gp_Pnt) –
Return type:None
Points()
Return type:BRep_ListOfPointRepresentation
Tolerance()
Return type:float
Parameters:T (float) –
Return type:None
UpdateTolerance()
  • Sets the tolerance to the max of <T> and the current tolerance.
Parameters:T (float) –
Return type:None
thisown

The membership flag

class BRep_Tool

Bases: object

static Continuity(*args)
  • Returns the continuity.
Parameters:
  • E (TopoDS_Edge &) –
  • F1 (TopoDS_Face &) –
  • F2 (TopoDS_Face &) –
Return type:

GeomAbs_Shape

  • Returns the continuity.
Parameters:
  • E (TopoDS_Edge &) –
  • S1 (Handle_Geom_Surface &) –
  • S2 (Handle_Geom_Surface &) –
  • L1 (TopLoc_Location &) –
  • L2 (TopLoc_Location &) –
Return type:

GeomAbs_Shape

static Curve(*args)
  • Returns the 3D curve of the edge. May be a Null handle. Returns in <L> the location for the curve. In <First> and <Last> the parameter range.
Parameters:
  • E (TopoDS_Edge &) –
  • L (TopLoc_Location &) –
  • First (float &) –
  • Last (float &) –
Return type:

Handle_Geom_Curve

  • Returns the 3D curve of the edge. May be a Null handle. In <First> and <Last> the parameter range. It can be a copy if there is a Location.
Parameters:
  • E (TopoDS_Edge &) –
  • First (float &) –
  • Last (float &) –
Return type:

Handle_Geom_Curve

static CurveOnSurface(*args)
  • Returns the curve associated to the edge in the parametric space of the face. Returns a NULL handle if this curve does not exist. Returns in <First> and <Last> the parameter range.
Parameters:
  • E (TopoDS_Edge &) –
  • F (TopoDS_Face &) –
  • First (float &) –
  • Last (float &) –
Return type:

Handle_Geom2d_Curve

  • Returns the curve associated to the edge in the parametric space of the surface. Returns a NULL handle if this curve does not exist. Returns in <First> and <Last> the parameter range.
Parameters:
  • E (TopoDS_Edge &) –
  • S (Handle_Geom_Surface &) –
  • L (TopLoc_Location &) –
  • First (float &) –
  • Last (float &) –
Return type:

Handle_Geom2d_Curve

  • Returns in <C>, <S>, <L> a 2d curve, a surface and a location for the edge <E>. <C> and <S> are null if the edge has no curve on surface. Returns in <First> and <Last> the parameter range.
Parameters:
  • E (TopoDS_Edge &) –
  • C (Handle_Geom2d_Curve &) –
  • S (Handle_Geom_Surface &) –
  • L (TopLoc_Location &) –
  • First (float &) –
  • Last (float &) –
Return type:

void

  • Returns in <C>, <S>, <L> the 2d curve, the surface and the location for the edge <E> of rank <Index>. <C> and <S> are null if the index is out of range. Returns in <First> and <Last> the parameter range.
Parameters:
  • E (TopoDS_Edge &) –
  • C (Handle_Geom2d_Curve &) –
  • S (Handle_Geom_Surface &) –
  • L (TopLoc_Location &) –
  • First (float &) –
  • Last (float &) –
  • Index (int) –
Return type:

void

static Degenerated(*args)
  • Returns True if the edge is degenerated.
Parameters:E (TopoDS_Edge &) –
Return type:bool
static HasContinuity(*args)
  • Returns True if the edge is on the surfaces of the two faces.
Parameters:
  • E (TopoDS_Edge &) –
  • F1 (TopoDS_Face &) –
  • F2 (TopoDS_Face &) –
Return type:

bool

  • Returns True if the edge is on the surfaces.
Parameters:
  • E (TopoDS_Edge &) –
  • S1 (Handle_Geom_Surface &) –
  • S2 (Handle_Geom_Surface &) –
  • L1 (TopLoc_Location &) –
  • L2 (TopLoc_Location &) –
Return type:

bool

  • Returns True if the edge has regularity on some two surfaces
Parameters:E (TopoDS_Edge &) –
Return type:bool
static IsClosed(*args)
  • If S is Solid or Shell, returns True if it has no free boundaries (edges). If S is Wire, returns True if it has no free ends (vertices). (Internal and External sub-shepes are ignored in this check.) For other shape types returns S.Closed().
Parameters:S (TopoDS_Shape &) –
Return type:bool
  • Returns True if <E> has two PCurves in the parametric space of <F>. i.e. <F> is on a closed surface and <E> is on the closing curve.
Parameters:
  • E (TopoDS_Edge &) –
  • F (TopoDS_Face &) –
Return type:

bool

  • Returns True if <E> has two PCurves in the parametric space of <S>. i.e. <S> is a closed surface and <E> is on the closing curve.
Parameters:
  • E (TopoDS_Edge &) –
  • S (Handle_Geom_Surface &) –
  • L (TopLoc_Location &) –
Return type:

bool

  • Returns True if <E> has two arrays of indices in the triangulation <T>.
Parameters:
  • E (TopoDS_Edge &) –
  • T (Handle_Poly_Triangulation &) –
Return type:

bool

static IsGeometric(*args)
  • Returns True if <E> is a 3d curve or a curve on surface.
Parameters:E (TopoDS_Edge &) –
Return type:bool
static NaturalRestriction(*args)
  • Returns the NaturalRestriction flag of the face.
Parameters:F (TopoDS_Face &) –
Return type:bool
static Parameter(*args)
  • Returns the parameter of <V> on <E>.
Parameters:
  • V (TopoDS_Vertex &) –
  • E (TopoDS_Edge &) –
Return type:

float

  • Returns the parameters of the vertex on the pcurve of the edge on the face.
Parameters:
  • V (TopoDS_Vertex &) –
  • E (TopoDS_Edge &) –
  • F (TopoDS_Face &) –
Return type:

float

  • Returns the parameters of the vertex on the pcurve of the edge on the surface.
Parameters:
  • V (TopoDS_Vertex &) –
  • E (TopoDS_Edge &) –
  • S (Handle_Geom_Surface &) –
  • L (TopLoc_Location &) –
Return type:

float

static Parameters(*args)
  • Returns the parameters of the vertex on the face.
Parameters:
  • V (TopoDS_Vertex &) –
  • F (TopoDS_Face &) –
Return type:

gp_Pnt2d

static Pnt(*args)
  • Returns the 3d point.
Parameters:V (TopoDS_Vertex &) –
Return type:gp_Pnt
Polygon3D()
  • Returns the 3D polygon of the edge. May be a Null handle. Returns in <L> the location for the polygon.
Parameters:
  • E (TopoDS_Edge &) –
  • L (TopLoc_Location &) –
Return type:

Handle_Poly_Polygon3D

static PolygonOnSurface(*args)
  • Returns the polygon associated to the edge in the parametric space of the face. Returns a NULL handle if this polygon does not exist.
Parameters:
  • E (TopoDS_Edge &) –
  • F (TopoDS_Face &) –
Return type:

Handle_Poly_Polygon2D

  • Returns the polygon associated to the edge in the parametric space of the surface. Returns a NULL handle if this polygon does not exist.
Parameters:
  • E (TopoDS_Edge &) –
  • S (Handle_Geom_Surface &) –
  • L (TopLoc_Location &) –
Return type:

Handle_Poly_Polygon2D

  • Returns in <C>, <S>, <L> a 2d curve, a surface and a location for the edge <E>. <C> and <S> are null if the edge has no polygon on surface.
Parameters:
  • E (TopoDS_Edge &) –
  • C (Handle_Poly_Polygon2D &) –
  • S (Handle_Geom_Surface &) –
  • L (TopLoc_Location &) –
Return type:

void

  • Returns in <C>, <S>, <L> the 2d curve, the surface and the location for the edge <E> of rank <Index>. <C> and <S> are null if the index is out of range.
Parameters:
  • E (TopoDS_Edge &) –
  • C (Handle_Poly_Polygon2D &) –
  • S (Handle_Geom_Surface &) –
  • L (TopLoc_Location &) –
  • Index (int) –
Return type:

void

static PolygonOnTriangulation(*args)
  • Returns the polygon associated to the edge in the parametric space of the face. Returns a NULL handle if this polygon does not exist.
Parameters:
  • E (TopoDS_Edge &) –
  • T (Handle_Poly_Triangulation &) –
  • L (TopLoc_Location &) –
Return type:

Handle_Poly_PolygonOnTriangulation

  • Returns in <P>, <T>, <L> a polygon on triangulation, a triangulation and a location for the edge <E>. <P> and <T> are null if the edge has no polygon on triangulation.
Parameters:
  • E (TopoDS_Edge &) –
  • P (Handle_Poly_PolygonOnTriangulation &) –
  • T (Handle_Poly_Triangulation &) –
  • L (TopLoc_Location &) –
Return type:

void

  • Returns in <P>, <T>, <L> a polygon on triangulation, a triangulation and a location for the edge <E> for the range index. <C> and <S> are null if the edge has no polygon on triangulation.
Parameters:
  • E (TopoDS_Edge &) –
  • P (Handle_Poly_PolygonOnTriangulation &) –
  • T (Handle_Poly_Triangulation &) –
  • L (TopLoc_Location &) –
  • Index (int) –
Return type:

void

static Range(*args)
  • Gets the range of the 3d curve.
Parameters:
  • E (TopoDS_Edge &) –
  • First (float &) –
  • Last (float &) –
Return type:

void

  • Gets the range of the edge on the pcurve on the surface.
Parameters:
  • E (TopoDS_Edge &) –
  • S (Handle_Geom_Surface &) –
  • L (TopLoc_Location &) –
  • First (float &) –
  • Last (float &) –
Return type:

void

  • Gets the range of the edge on the pcurve on the face.
Parameters:
  • E (TopoDS_Edge &) –
  • F (TopoDS_Face &) –
  • First (float &) –
  • Last (float &) –
Return type:

void

static SameParameter(*args)
  • Returns the SameParameter flag for the edge.
Parameters:E (TopoDS_Edge &) –
Return type:bool
static SameRange(*args)
  • Returns the SameRange flag for the edge.
Parameters:E (TopoDS_Edge &) –
Return type:bool
static SetUVPoints(*args)
  • Sets the UV locations of the extremities of the edge.
Parameters:
  • E (TopoDS_Edge &) –
  • S (Handle_Geom_Surface &) –
  • L (TopLoc_Location &) –
  • PFirst (gp_Pnt2d) –
  • PLast (gp_Pnt2d) –
Return type:

void

  • Sets the UV locations of the extremities of the edge.
Parameters:
  • E (TopoDS_Edge &) –
  • F (TopoDS_Face &) –
  • PFirst (gp_Pnt2d) –
  • PLast (gp_Pnt2d) –
Return type:

void

static Surface(*args)
  • Returns the geometric surface of the face. Returns in <L> the location for the surface.
Parameters:
  • F (TopoDS_Face &) –
  • L (TopLoc_Location &) –
Return type:

Handle_Geom_Surface

  • Returns the geometric surface of the face. It can be a copy if there is a Location.
Parameters:F (TopoDS_Face &) –
Return type:Handle_Geom_Surface
static Tolerance(*args)
  • Returns the tolerance of the face.
Parameters:F (TopoDS_Face &) –
Return type:float
  • Returns the tolerance for <E>.
Parameters:E (TopoDS_Edge &) –
Return type:float
  • Returns the tolerance.
Parameters:V (TopoDS_Vertex &) –
Return type:float
Triangulation()
  • Returns the Triangulation of the face. It is a null handle if there is no triangulation.
Parameters:
  • F (TopoDS_Face &) –
  • L (TopLoc_Location &) –
Return type:

Handle_Poly_Triangulation

static UVPoints(*args)
  • Gets the UV locations of the extremities of the edge.
Parameters:
  • E (TopoDS_Edge &) –
  • S (Handle_Geom_Surface &) –
  • L (TopLoc_Location &) –
  • PFirst (gp_Pnt2d) –
  • PLast (gp_Pnt2d) –
Return type:

void

  • Gets the UV locations of the extremities of the edge.
Parameters:
  • E (TopoDS_Edge &) –
  • F (TopoDS_Face &) –
  • PFirst (gp_Pnt2d) –
  • PLast (gp_Pnt2d) –
Return type:

void

thisown

The membership flag

BRep_Tool_Continuity(*args)
  • Returns the continuity.
Parameters:
  • E (TopoDS_Edge &) –
  • F1 (TopoDS_Face &) –
  • F2 (TopoDS_Face &) –
Return type:

GeomAbs_Shape

  • Returns the continuity.
Parameters:
  • E (TopoDS_Edge &) –
  • S1 (Handle_Geom_Surface &) –
  • S2 (Handle_Geom_Surface &) –
  • L1 (TopLoc_Location &) –
  • L2 (TopLoc_Location &) –
Return type:

GeomAbs_Shape

BRep_Tool_Curve(*args)
  • Returns the 3D curve of the edge. May be a Null handle. Returns in <L> the location for the curve. In <First> and <Last> the parameter range.
Parameters:
  • E (TopoDS_Edge &) –
  • L (TopLoc_Location &) –
  • First (float &) –
  • Last (float &) –
Return type:

Handle_Geom_Curve

  • Returns the 3D curve of the edge. May be a Null handle. In <First> and <Last> the parameter range. It can be a copy if there is a Location.
Parameters:
  • E (TopoDS_Edge &) –
  • First (float &) –
  • Last (float &) –
Return type:

Handle_Geom_Curve

BRep_Tool_CurveOnSurface(*args)
  • Returns the curve associated to the edge in the parametric space of the face. Returns a NULL handle if this curve does not exist. Returns in <First> and <Last> the parameter range.
Parameters:
  • E (TopoDS_Edge &) –
  • F (TopoDS_Face &) –
  • First (float &) –
  • Last (float &) –
Return type:

Handle_Geom2d_Curve

  • Returns the curve associated to the edge in the parametric space of the surface. Returns a NULL handle if this curve does not exist. Returns in <First> and <Last> the parameter range.
Parameters:
  • E (TopoDS_Edge &) –
  • S (Handle_Geom_Surface &) –
  • L (TopLoc_Location &) –
  • First (float &) –
  • Last (float &) –
Return type:

Handle_Geom2d_Curve

  • Returns in <C>, <S>, <L> a 2d curve, a surface and a location for the edge <E>. <C> and <S> are null if the edge has no curve on surface. Returns in <First> and <Last> the parameter range.
Parameters:
  • E (TopoDS_Edge &) –
  • C (Handle_Geom2d_Curve &) –
  • S (Handle_Geom_Surface &) –
  • L (TopLoc_Location &) –
  • First (float &) –
  • Last (float &) –
Return type:

void

  • Returns in <C>, <S>, <L> the 2d curve, the surface and the location for the edge <E> of rank <Index>. <C> and <S> are null if the index is out of range. Returns in <First> and <Last> the parameter range.
Parameters:
  • E (TopoDS_Edge &) –
  • C (Handle_Geom2d_Curve &) –
  • S (Handle_Geom_Surface &) –
  • L (TopLoc_Location &) –
  • First (float &) –
  • Last (float &) –
  • Index (int) –
Return type:

void

BRep_Tool_Degenerated(*args)
  • Returns True if the edge is degenerated.
Parameters:E (TopoDS_Edge &) –
Return type:bool
BRep_Tool_HasContinuity(*args)
  • Returns True if the edge is on the surfaces of the two faces.
Parameters:
  • E (TopoDS_Edge &) –
  • F1 (TopoDS_Face &) –
  • F2 (TopoDS_Face &) –
Return type:

bool

  • Returns True if the edge is on the surfaces.
Parameters:
  • E (TopoDS_Edge &) –
  • S1 (Handle_Geom_Surface &) –
  • S2 (Handle_Geom_Surface &) –
  • L1 (TopLoc_Location &) –
  • L2 (TopLoc_Location &) –
Return type:

bool

  • Returns True if the edge has regularity on some two surfaces
Parameters:E (TopoDS_Edge &) –
Return type:bool
BRep_Tool_IsClosed(*args)
  • If S is Solid or Shell, returns True if it has no free boundaries (edges). If S is Wire, returns True if it has no free ends (vertices). (Internal and External sub-shepes are ignored in this check.) For other shape types returns S.Closed().
Parameters:S (TopoDS_Shape &) –
Return type:bool
  • Returns True if <E> has two PCurves in the parametric space of <F>. i.e. <F> is on a closed surface and <E> is on the closing curve.
Parameters:
  • E (TopoDS_Edge &) –
  • F (TopoDS_Face &) –
Return type:

bool

  • Returns True if <E> has two PCurves in the parametric space of <S>. i.e. <S> is a closed surface and <E> is on the closing curve.
Parameters:
  • E (TopoDS_Edge &) –
  • S (Handle_Geom_Surface &) –
  • L (TopLoc_Location &) –
Return type:

bool

  • Returns True if <E> has two arrays of indices in the triangulation <T>.
Parameters:
  • E (TopoDS_Edge &) –
  • T (Handle_Poly_Triangulation &) –
Return type:

bool

BRep_Tool_IsGeometric(*args)
  • Returns True if <E> is a 3d curve or a curve on surface.
Parameters:E (TopoDS_Edge &) –
Return type:bool
BRep_Tool_NaturalRestriction(*args)
  • Returns the NaturalRestriction flag of the face.
Parameters:F (TopoDS_Face &) –
Return type:bool
BRep_Tool_Parameter(*args)
  • Returns the parameter of <V> on <E>.
Parameters:
  • V (TopoDS_Vertex &) –
  • E (TopoDS_Edge &) –
Return type:

float

  • Returns the parameters of the vertex on the pcurve of the edge on the face.
Parameters:
  • V (TopoDS_Vertex &) –
  • E (TopoDS_Edge &) –
  • F (TopoDS_Face &) –
Return type:

float

  • Returns the parameters of the vertex on the pcurve of the edge on the surface.
Parameters:
  • V (TopoDS_Vertex &) –
  • E (TopoDS_Edge &) –
  • S (Handle_Geom_Surface &) –
  • L (TopLoc_Location &) –
Return type:

float

BRep_Tool_Parameters(*args)
  • Returns the parameters of the vertex on the face.
Parameters:
  • V (TopoDS_Vertex &) –
  • F (TopoDS_Face &) –
Return type:

gp_Pnt2d

BRep_Tool_Pnt(*args)
  • Returns the 3d point.
Parameters:V (TopoDS_Vertex &) –
Return type:gp_Pnt
BRep_Tool_PolygonOnSurface(*args)
  • Returns the polygon associated to the edge in the parametric space of the face. Returns a NULL handle if this polygon does not exist.
Parameters:
  • E (TopoDS_Edge &) –
  • F (TopoDS_Face &) –
Return type:

Handle_Poly_Polygon2D

  • Returns the polygon associated to the edge in the parametric space of the surface. Returns a NULL handle if this polygon does not exist.
Parameters:
  • E (TopoDS_Edge &) –
  • S (Handle_Geom_Surface &) –
  • L (TopLoc_Location &) –
Return type:

Handle_Poly_Polygon2D

  • Returns in <C>, <S>, <L> a 2d curve, a surface and a location for the edge <E>. <C> and <S> are null if the edge has no polygon on surface.
Parameters:
  • E (TopoDS_Edge &) –
  • C (Handle_Poly_Polygon2D &) –
  • S (Handle_Geom_Surface &) –
  • L (TopLoc_Location &) –
Return type:

void

  • Returns in <C>, <S>, <L> the 2d curve, the surface and the location for the edge <E> of rank <Index>. <C> and <S> are null if the index is out of range.
Parameters:
  • E (TopoDS_Edge &) –
  • C (Handle_Poly_Polygon2D &) –
  • S (Handle_Geom_Surface &) –
  • L (TopLoc_Location &) –
  • Index (int) –
Return type:

void

BRep_Tool_PolygonOnTriangulation(*args)
  • Returns the polygon associated to the edge in the parametric space of the face. Returns a NULL handle if this polygon does not exist.
Parameters:
  • E (TopoDS_Edge &) –
  • T (Handle_Poly_Triangulation &) –
  • L (TopLoc_Location &) –
Return type:

Handle_Poly_PolygonOnTriangulation

  • Returns in <P>, <T>, <L> a polygon on triangulation, a triangulation and a location for the edge <E>. <P> and <T> are null if the edge has no polygon on triangulation.
Parameters:
  • E (TopoDS_Edge &) –
  • P (Handle_Poly_PolygonOnTriangulation &) –
  • T (Handle_Poly_Triangulation &) –
  • L (TopLoc_Location &) –
Return type:

void

  • Returns in <P>, <T>, <L> a polygon on triangulation, a triangulation and a location for the edge <E> for the range index. <C> and <S> are null if the edge has no polygon on triangulation.
Parameters:
  • E (TopoDS_Edge &) –
  • P (Handle_Poly_PolygonOnTriangulation &) –
  • T (Handle_Poly_Triangulation &) –
  • L (TopLoc_Location &) –
  • Index (int) –
Return type:

void

BRep_Tool_Range(*args)
  • Gets the range of the 3d curve.
Parameters:
  • E (TopoDS_Edge &) –
  • First (float &) –
  • Last (float &) –
Return type:

void

  • Gets the range of the edge on the pcurve on the surface.
Parameters:
  • E (TopoDS_Edge &) –
  • S (Handle_Geom_Surface &) –
  • L (TopLoc_Location &) –
  • First (float &) –
  • Last (float &) –
Return type:

void

  • Gets the range of the edge on the pcurve on the face.
Parameters:
  • E (TopoDS_Edge &) –
  • F (TopoDS_Face &) –
  • First (float &) –
  • Last (float &) –
Return type:

void

BRep_Tool_SameParameter(*args)
  • Returns the SameParameter flag for the edge.
Parameters:E (TopoDS_Edge &) –
Return type:bool
BRep_Tool_SameRange(*args)
  • Returns the SameRange flag for the edge.
Parameters:E (TopoDS_Edge &) –
Return type:bool
BRep_Tool_SetUVPoints(*args)
  • Sets the UV locations of the extremities of the edge.
Parameters:
  • E (TopoDS_Edge &) –
  • S (Handle_Geom_Surface &) –
  • L (TopLoc_Location &) –
  • PFirst (gp_Pnt2d) –
  • PLast (gp_Pnt2d) –
Return type:

void

  • Sets the UV locations of the extremities of the edge.
Parameters:
  • E (TopoDS_Edge &) –
  • F (TopoDS_Face &) –
  • PFirst (gp_Pnt2d) –
  • PLast (gp_Pnt2d) –
Return type:

void

BRep_Tool_Surface(*args)
  • Returns the geometric surface of the face. Returns in <L> the location for the surface.
Parameters:
  • F (TopoDS_Face &) –
  • L (TopLoc_Location &) –
Return type:

Handle_Geom_Surface

  • Returns the geometric surface of the face. It can be a copy if there is a Location.
Parameters:F (TopoDS_Face &) –
Return type:Handle_Geom_Surface
BRep_Tool_Tolerance(*args)
  • Returns the tolerance of the face.
Parameters:F (TopoDS_Face &) –
Return type:float
  • Returns the tolerance for <E>.
Parameters:E (TopoDS_Edge &) –
Return type:float
  • Returns the tolerance.
Parameters:V (TopoDS_Vertex &) –
Return type:float
BRep_Tool_UVPoints(*args)
  • Gets the UV locations of the extremities of the edge.
Parameters:
  • E (TopoDS_Edge &) –
  • S (Handle_Geom_Surface &) –
  • L (TopLoc_Location &) –
  • PFirst (gp_Pnt2d) –
  • PLast (gp_Pnt2d) –
Return type:

void

  • Gets the UV locations of the extremities of the edge.
Parameters:
  • E (TopoDS_Edge &) –
  • F (TopoDS_Face &) –
  • PFirst (gp_Pnt2d) –
  • PLast (gp_Pnt2d) –
Return type:

void

class Handle_BRep_Curve3D(*args)

Bases: OCC.BRep.Handle_BRep_GCurve

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

The membership flag

class Handle_BRep_CurveOn2Surfaces(*args)

Bases: OCC.BRep.Handle_BRep_CurveRepresentation

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

The membership flag

class Handle_BRep_CurveOnClosedSurface(*args)

Bases: OCC.BRep.Handle_BRep_CurveOnSurface

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

The membership flag

class Handle_BRep_CurveOnSurface(*args)

Bases: OCC.BRep.Handle_BRep_GCurve

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

The membership flag

class Handle_BRep_CurveRepresentation(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

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

The membership flag

class Handle_BRep_GCurve(*args)

Bases: OCC.BRep.Handle_BRep_CurveRepresentation

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

The membership flag

class Handle_BRep_ListNodeOfListOfCurveRepresentation(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class Handle_BRep_ListNodeOfListOfPointRepresentation(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class Handle_BRep_PointOnCurve(*args)

Bases: OCC.BRep.Handle_BRep_PointRepresentation

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

The membership flag

class Handle_BRep_PointOnCurveOnSurface(*args)

Bases: OCC.BRep.Handle_BRep_PointsOnSurface

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

The membership flag

class Handle_BRep_PointOnSurface(*args)

Bases: OCC.BRep.Handle_BRep_PointsOnSurface

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

The membership flag

class Handle_BRep_PointRepresentation(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

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

The membership flag

class Handle_BRep_PointsOnSurface(*args)

Bases: OCC.BRep.Handle_BRep_PointRepresentation

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

The membership flag

class Handle_BRep_Polygon3D(*args)

Bases: OCC.BRep.Handle_BRep_CurveRepresentation

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

The membership flag

class Handle_BRep_PolygonOnClosedSurface(*args)

Bases: OCC.BRep.Handle_BRep_PolygonOnSurface

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

The membership flag

class Handle_BRep_PolygonOnClosedTriangulation(*args)

Bases: OCC.BRep.Handle_BRep_PolygonOnTriangulation

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

The membership flag

class Handle_BRep_PolygonOnSurface(*args)

Bases: OCC.BRep.Handle_BRep_CurveRepresentation

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

The membership flag

class Handle_BRep_PolygonOnTriangulation(*args)

Bases: OCC.BRep.Handle_BRep_CurveRepresentation

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

The membership flag

class Handle_BRep_TEdge(*args)

Bases: OCC.TopoDS.Handle_TopoDS_TEdge

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

The membership flag

class Handle_BRep_TFace(*args)

Bases: OCC.TopoDS.Handle_TopoDS_TFace

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

The membership flag

class Handle_BRep_TVertex(*args)

Bases: OCC.TopoDS.Handle_TopoDS_TVertex

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

The membership flag

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