Box2D

class lsst.geom.Box2D

Bases: pybind11_builtins.pybind11_object

Attributes Summary

EPSILON

INVALID

area

centerX

centerY

height

maxX

maxY

minX

minY

width

x

y

Methods 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.

  1. contains(self: lsst.geom.Box2D, arg0: lsst.geom.Point2D) -> bool

  2. contains(self: lsst.geom.Box2D, arg0: lsst.geom.Box2D) -> bool

  3. contains(self: lsst.geom.Box2D, x: numpy.ndarray[numpy.float64], y: numpy.ndarray[numpy.float64]) -> object

dilatedBy(*args, **kwargs)

Overloaded function.

  1. dilatedBy(self: lsst.geom.Box2D, arg0: float) -> lsst.geom.Box2D

  2. dilatedBy(self: lsst.geom.Box2D, arg0: lsst.geom.Extent2D) -> lsst.geom.Box2D

erodedBy(*args, **kwargs)

Overloaded function.

  1. erodedBy(self: lsst.geom.Box2D, arg0: float) -> lsst.geom.Box2D

  2. erodedBy(self: lsst.geom.Box2D, arg0: lsst.geom.Extent2D) -> lsst.geom.Box2D

expandedTo(*args, **kwargs)

Overloaded function.

  1. expandedTo(self: lsst.geom.Box2D, arg0: lsst.geom.Point2D) -> lsst.geom.Box2D

  2. 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.

  1. grow(self: lsst.geom.Box2D, arg0: float) -> None

  2. grow(self: lsst.geom.Box2D, arg0: lsst.geom.Extent2D) -> None

include(*args, **kwargs)

Overloaded function.

  1. include(self: lsst.geom.Box2D, arg0: lsst.geom.Point2D) -> None

  2. 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