OCC.Core.TopClass module

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

class SwigPyIterator(*args, **kwargs)

Bases: object

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

The membership flag

value()
class TopClass_SolidExplorer(*args, **kwargs)

Bases: object

CurrentFace()
  • Returns the current face.
    rtype

    TopoDS_Face

InitFace()
  • Starts an exploration of the faces.
    rtype

    void

InitShell()
  • Starts an exploration of the shells.
    rtype

    void

MoreFaces()
  • Returns True if there is a current face.
    rtype

    bool

MoreShells()
  • Returns True if there is a current shell.
    rtype

    bool

NextFace()
  • Sets the explorer to the next face and returns False if there are no more wires.
    rtype

    void

NextShell()
  • Sets the explorer to the next shell and returns False if there are no more wires.
    rtype

    void

OtherSegment()
  • Returns in <L>, <Par> a segment having at least one intersection with the shape boundary to compute intersections. //! The First Call to this method returns a line which point to a point of the first face of the shape. The Second Call provide a line to the second face and so on. //! if the method is called N times on a shape with F faces (N>F) the line point to other points on the face 1,2,3 … N
    param P

    type P

    gp_Pnt

    param L

    type L

    gp_Lin

    param Par

    type Par

    float

    rtype

    void

Reject()
  • Should return True if the point is outside a bounding volume of the shape.
    param P

    type P

    gp_Pnt

    rtype

    bool

RejectFace()
  • Returns True if the face bounding volume does not intersect the segment.
    param L

    type L

    gp_Lin

    param Par

    type Par

    float

    rtype

    bool

RejectShell()
  • Returns True if the shell bounding volume does not intersect the segment.
    param L

    type L

    gp_Lin

    param Par

    type Par

    float

    rtype

    bool

Segment()
  • Returns in <L>, <Par> a segment having at least one intersection with the shape boundary to compute intersections.
    param P

    type P

    gp_Pnt

    param L

    type L

    gp_Lin

    param Par

    type Par

    float

    rtype

    void

property thisown

The membership flag