File: __init__.pyi

package info (click to toggle)
python-ocp 7.8.1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 64,720 kB
  • sloc: cpp: 362,337; pascal: 33; python: 23; makefile: 4
file content (64 lines) | stat: -rw-r--r-- 2,203 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
import OCP.TopClass
from typing import *
from typing import Iterable as iterable
from typing import Iterator as iterator
from numpy import float64
_Shape = Tuple[int, ...]
import OCP.TopoDS
import OCP.gp
__all__  = [
"TopClass_SolidExplorer"
]
class TopClass_SolidExplorer():
    """
    Provide an exploration of a BRep Shape for the classification. Defines the description of a solid for the SolidClassifier.
    """
    def CurrentFace(self) -> OCP.TopoDS.TopoDS_Face: 
        """
        Returns the current face.
        """
    def InitFace(self) -> None: 
        """
        Starts an exploration of the faces.
        """
    def InitShell(self) -> None: 
        """
        Starts an exploration of the shells.
        """
    def MoreFaces(self) -> bool: 
        """
        Returns True if there is a current face.
        """
    def MoreShells(self) -> bool: 
        """
        Returns True if there is a current shell.
        """
    def NextFace(self) -> None: 
        """
        Sets the explorer to the next face and returns False if there are no more wires.
        """
    def NextShell(self) -> None: 
        """
        Sets the explorer to the next shell and returns False if there are no more wires.
        """
    def OtherSegment(self,P : OCP.gp.gp_Pnt,L : OCP.gp.gp_Lin) -> tuple[float]: 
        """
        Returns in <L>, <Par> a segment having at least one intersection with the shape boundary to compute intersections.
        """
    def Reject(self,P : OCP.gp.gp_Pnt) -> bool: 
        """
        Should return True if the point is outside a bounding volume of the shape.
        """
    def RejectFace(self,L : OCP.gp.gp_Lin,Par : float) -> bool: 
        """
        Returns True if the face bounding volume does not intersect the segment.
        """
    def RejectShell(self,L : OCP.gp.gp_Lin,Par : float) -> bool: 
        """
        Returns True if the shell bounding volume does not intersect the segment.
        """
    def Segment(self,P : OCP.gp.gp_Pnt,L : OCP.gp.gp_Lin) -> tuple[float]: 
        """
        Returns in <L>, <Par> a segment having at least one intersection with the shape boundary to compute intersections.
        """
    pass