mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-25 07:33:57 -06:00
CURA-4400 added docs to new functions
This commit is contained in:
parent
859ac88357
commit
16cebe35ef
1 changed files with 2 additions and 0 deletions
|
@ -78,6 +78,7 @@ class CuraSceneNode(SceneNode):
|
||||||
1.0
|
1.0
|
||||||
]
|
]
|
||||||
|
|
||||||
|
## Return if the provided bbox collides with the bbox of this scene node
|
||||||
def collidesWithBbox(self, check_bbox):
|
def collidesWithBbox(self, check_bbox):
|
||||||
bbox = self.getBoundingBox()
|
bbox = self.getBoundingBox()
|
||||||
|
|
||||||
|
@ -87,6 +88,7 @@ class CuraSceneNode(SceneNode):
|
||||||
|
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
## Return if any area collides with the convex hull of this scene node
|
||||||
def collidesWithArea(self, areas):
|
def collidesWithArea(self, areas):
|
||||||
convex_hull = self.callDecoration("getConvexHull")
|
convex_hull = self.callDecoration("getConvexHull")
|
||||||
if convex_hull:
|
if convex_hull:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue