Box2D¶
-
class
lsst.geom.Box2D¶ Bases:
pybind11_builtins.pybind11_objectAttributes Summary
EPSILONINVALIDareacenterXcenterYheightmaxXmaxYminXminYwidthxyMethods Summary
clip(self, arg0)clippedTo(self, arg0)contains(*args, **kwargs)Overloaded function. dilatedBy(*args, **kwargs)Overloaded function. erodedBy(*args, **kwargs)Overloaded function. expandedTo(*args, **kwargs)Overloaded function. flipLR(self, arg0)flipTB(self, arg0)getArea(self)getCenter(self)getCenterX(self)getCenterY(self)getCorners(self)getDimensions(self)getHeight(self)getMax(self)getMaxX(self)getMaxY(self)getMin(self)getMinX(self)getMinY(self)getWidth(self)getX(self)getY(self)grow(*args, **kwargs)Overloaded function. include(*args, **kwargs)Overloaded function. intersects(self, arg0)isDisjointFrom(self, arg0)isEmpty(self)makeCenteredBox(center, size)overlaps(self, arg0)reflectedAboutX(self, arg0)reflectedAboutY(self, arg0)shift(self, arg0)shiftedBy(self, arg0)swap(self, arg0)toString(self)Attributes Documentation
-
EPSILON= 4.440892098500626e-16¶
-
INVALID= nan¶
-
area¶
-
centerX¶
-
centerY¶
-
height¶
-
maxX¶
-
maxY¶
-
minX¶
-
minY¶
-
width¶
-
x¶
-
y¶
Methods Documentation
-
clip(self: lsst.geom.Box2D, arg0: lsst.geom.Box2D) → None¶
-
clippedTo(self: lsst.geom.Box2D, arg0: lsst.geom.Box2D) → lsst.geom.Box2D¶
-
contains(*args, **kwargs)¶ Overloaded function.
- contains(self: lsst.geom.Box2D, arg0: lsst.geom.Point2D) -> bool
- contains(self: lsst.geom.Box2D, arg0: lsst.geom.Box2D) -> bool
- contains(self: lsst.geom.Box2D, x: numpy.ndarray[float64], y: numpy.ndarray[float64]) -> object
-
dilatedBy(*args, **kwargs)¶ Overloaded function.
- dilatedBy(self: lsst.geom.Box2D, arg0: float) -> lsst.geom.Box2D
- dilatedBy(self: lsst.geom.Box2D, arg0: lsst.geom.Extent2D) -> lsst.geom.Box2D
-
erodedBy(*args, **kwargs)¶ Overloaded function.
- erodedBy(self: lsst.geom.Box2D, arg0: float) -> lsst.geom.Box2D
- erodedBy(self: lsst.geom.Box2D, arg0: lsst.geom.Extent2D) -> lsst.geom.Box2D
-
expandedTo(*args, **kwargs)¶ Overloaded function.
- expandedTo(self: lsst.geom.Box2D, arg0: lsst.geom.Point2D) -> lsst.geom.Box2D
- expandedTo(self: lsst.geom.Box2D, arg0: lsst.geom.Box2D) -> lsst.geom.Box2D
-
flipLR(self: lsst.geom.Box2D, arg0: float) → None¶
-
flipTB(self: lsst.geom.Box2D, arg0: float) → None¶
-
getArea(self: lsst.geom.Box2D) → float¶
-
getCenter(self: lsst.geom.Box2D) → lsst.geom.Point2D¶
-
getCenterX(self: lsst.geom.Box2D) → float¶
-
getCenterY(self: lsst.geom.Box2D) → float¶
-
getCorners(self: lsst.geom.Box2D) → List[lsst.geom.Point2D]¶
-
getDimensions(self: lsst.geom.Box2D) → lsst.geom.Extent2D¶
-
getHeight(self: lsst.geom.Box2D) → float¶
-
getMax(self: lsst.geom.Box2D) → lsst.geom.Point2D¶
-
getMaxX(self: lsst.geom.Box2D) → float¶
-
getMaxY(self: lsst.geom.Box2D) → float¶
-
getMin(self: lsst.geom.Box2D) → lsst.geom.Point2D¶
-
getMinX(self: lsst.geom.Box2D) → float¶
-
getMinY(self: lsst.geom.Box2D) → float¶
-
getWidth(self: lsst.geom.Box2D) → float¶
-
getX(self: lsst.geom.Box2D) → lsst.geom.IntervalD¶
-
getY(self: lsst.geom.Box2D) → lsst.geom.IntervalD¶
-
grow(*args, **kwargs)¶ Overloaded function.
- grow(self: lsst.geom.Box2D, arg0: float) -> None
- grow(self: lsst.geom.Box2D, arg0: lsst.geom.Extent2D) -> None
-
include(*args, **kwargs)¶ Overloaded function.
- include(self: lsst.geom.Box2D, arg0: lsst.geom.Point2D) -> None
- include(self: lsst.geom.Box2D, arg0: lsst.geom.Box2D) -> None
-
intersects(self: lsst.geom.Box2D, arg0: lsst.geom.Box2D) → bool¶
-
isDisjointFrom(self: lsst.geom.Box2D, arg0: lsst.geom.Box2D) → bool¶
-
isEmpty(self: lsst.geom.Box2D) → bool¶
-
static
makeCenteredBox(center: lsst.geom.Point2D, size: lsst.geom.Extent2D) → lsst.geom.Box2D¶
-
overlaps(self: lsst.geom.Box2D, arg0: lsst.geom.Box2D) → bool¶
-
reflectedAboutX(self: lsst.geom.Box2D, arg0: float) → lsst.geom.Box2D¶
-
reflectedAboutY(self: lsst.geom.Box2D, arg0: float) → lsst.geom.Box2D¶
-
shift(self: lsst.geom.Box2D, arg0: lsst.geom.Extent2D) → None¶
-
shiftedBy(self: lsst.geom.Box2D, arg0: lsst.geom.Extent2D) → lsst.geom.Box2D¶
-
swap(self: lsst.geom.Box2D, arg0: lsst.geom.Box2D) → None¶
-
toString(self: lsst.geom.Box2D) → str¶
-