A cubic Box object that contains an inner non-cubic region that limits
the valid volume for the components to be placed in.
|
|
__init__(self,
hull,
*args,
**kwargs)
Create a BoxWithInnerHull object |
|
|
|
bool
|
isPointInBox(self,
point,
*args)
Overrides the parent method to check to see if the given point is
also inside the hull |
|
|
|
bool
|
isPointInHull(self,
point)
Check to see if the point is inside the hull |
|
|
|
list
|
getPointInBox(self,
max_attempts=1000)
Overrides the parent class to get a point that is inside the hull
rather than just in the box |
|
|
|
bool
|
isValidPoint(self,
point)
Overrides the parent method to check to make sure the point is inside
the hull |
|
|
|
Inherited from Box:
getCentroid,
getLargestSpan,
getMinMax,
getTranslationToBox
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|