Box¶
Imath.Box2s¶
- class Imath.Box2s¶
- V2s: None¶
- V2s: None
- Box2s() → Box2s¶
- Box2s(Box2s v) → Box2s
- Box2s(V2s point) → Box2s
- Box2s(V2s min, V2s max) → Box2s
- Box2s(short x, short y) → Box2s
- Box2s(short x0, short y0, short x1, short y1) → Box2s
- Box2s(table[2] point) → Box2s
- Box2s(table[2] min, table[2] max) → Box2s
- Box2s(table[4] minMax) → Box2s
- operator==(Box2s o) const -> boolean
- operator!=(Box2s o) const -> boolean
- operator[](int idx) const -> short
- operator[](int idx, short value)
- makeEmpty()¶
- extendBy(V2s point)¶
- extendBy(Box2s box)
- makeInfinite()¶
- size() const -> V2s
- center() const -> V2s
- intersects(V2s point) const -> boolean
- intersects(Box2s box) const -> boolean
- majorAxis() const -> int
- isEmpty() const -> boolean
- hasVolume() const -> boolean
- isInfinite() const -> boolean
- toTable() const -> table[4]
Imath.Box2i¶
- class Imath.Box2i¶
- V2i: None¶
- V2i: None
- Box2i() → Box2i¶
- Box2i(Box2i v) → Box2i
- Box2i(V2i point) → Box2i
- Box2i(V2i min, V2i max) → Box2i
- Box2i(int x, int y) → Box2i
- Box2i(int x0, int y0, int x1, int y1) → Box2i
- Box2i(table[2] point) → Box2i
- Box2i(table[2] min, table[2] max) → Box2i
- Box2i(table[4] minMax) → Box2i
- operator==(Box2i o) const -> boolean
- operator!=(Box2i o) const -> boolean
- operator[](int idx) const -> int
- operator[](int idx, int value)
- makeEmpty()¶
- extendBy(V2i point)¶
- extendBy(Box2i box)
- makeInfinite()¶
- size() const -> V2i
- center() const -> V2i
- intersects(V2i point) const -> boolean
- intersects(Box2i box) const -> boolean
- majorAxis() const -> int
- isEmpty() const -> boolean
- hasVolume() const -> boolean
- isInfinite() const -> boolean
- toTable() const -> table[4]
Imath.Box2f¶
- class Imath.Box2f¶
- V2f: None¶
- V2f: None
- Box2f() → Box2f¶
- Box2f(Box2f v) → Box2f
- Box2f(V2f point) → Box2f
- Box2f(V2f min, V2f max) → Box2f
- Box2f(float x, float y) → Box2f
- Box2f(float x0, float y0, float x1, float y1) → Box2f
- Box2f(table[2] point) → Box2f
- Box2f(table[2] min, table[2] max) → Box2f
- Box2f(table[4] minMax) → Box2f
- operator==(Box2f o) const -> boolean
- operator!=(Box2f o) const -> boolean
- operator[](int idx) const -> float
- operator[](int idx, float value)
- makeEmpty()¶
- extendBy(V2f point)¶
- extendBy(Box2f box)
- makeInfinite()¶
- size() const -> V2f
- center() const -> V2f
- intersects(V2f point) const -> boolean
- intersects(Box2f box) const -> boolean
- majorAxis() const -> int
- isEmpty() const -> boolean
- hasVolume() const -> boolean
- isInfinite() const -> boolean
- toTable() const -> table[4]
Imath.Box2d¶
- class Imath.Box2d¶
- V2d: None¶
- V2d: None
- Box2d() → Box2d¶
- Box2d(Box2d v) → Box2d
- Box2d(V2d point) → Box2d
- Box2d(V2d min, V2d max) → Box2d
- Box2d(double x, double y) → Box2d
- Box2d(double x0, double y0, double x1, double y1) → Box2d
- Box2d(table[2] point) → Box2d
- Box2d(table[2] min, table[2] max) → Box2d
- Box2d(table[4] minMax) → Box2d
- operator==(Box2d o) const -> boolean
- operator!=(Box2d o) const -> boolean
- operator[](int idx) const -> double
- operator[](int idx, double value)
- makeEmpty()¶
- extendBy(V2d point)¶
- extendBy(Box2d box)
- makeInfinite()¶
- size() const -> V2d
- center() const -> V2d
- intersects(V2d point) const -> boolean
- intersects(Box2d box) const -> boolean
- majorAxis() const -> int
- isEmpty() const -> boolean
- hasVolume() const -> boolean
- isInfinite() const -> boolean
- toTable() const -> table[4]
Imath.Box3s¶
- class Imath.Box3s¶
- V3s: None¶
- V3s: None
- Box3s() → Box3s¶
- Box3s(Box3s v) → Box3s
- Box3s(V3s point) → Box3s
- Box3s(V3s min, V3s max) → Box3s
- Box3s(short x, short y, short z) → Box3s
- Box3s(short x0, short y0, short z0, short x1, short y1, short z1) → Box3s
- Box3s(table[3] point) → Box3s
- Box3s(table[3] min, table[3] max) → Box3s
- Box3s(table[6] minMax) → Box3s
- operator==(Box3s o) const -> boolean
- operator!=(Box3s o) const -> boolean
- operator[](int idx) const -> short
- operator[](int idx, short value)
- makeEmpty()¶
- extendBy(V3s point)¶
- extendBy(Box3s box)
- makeInfinite()¶
- size() const -> V3s
- center() const -> V3s
- intersects(V3s point) const -> boolean
- intersects(Box3s box) const -> boolean
- majorAxis() const -> int
- isEmpty() const -> boolean
- hasVolume() const -> boolean
- isInfinite() const -> boolean
- clip(V3s in) const -> V3s
- closestPointOnBox(V3s p) const -> V3s
- closestPointInBox(V3s p) const -> V3s
- toTable() const -> table[6]
Imath.Box3i¶
- class Imath.Box3i¶
- V3i: None¶
- V3i: None
- Box3i() → Box3i¶
- Box3i(Box3i v) → Box3i
- Box3i(V3i point) → Box3i
- Box3i(V3i min, V3i max) → Box3i
- Box3i(int x, int y, int z) → Box3i
- Box3i(int x0, int y0, int z0, int x1, int y1, int z1) → Box3i
- Box3i(table[3] point) → Box3i
- Box3i(table[3] min, table[3] max) → Box3i
- Box3i(table[6] minMax) → Box3i
- operator==(Box3i o) const -> boolean
- operator!=(Box3i o) const -> boolean
- operator[](int idx) const -> int
- operator[](int idx, int value)
- makeEmpty()¶
- extendBy(V3i point)¶
- extendBy(Box3i box)
- makeInfinite()¶
- size() const -> V3i
- center() const -> V3i
- intersects(V3i point) const -> boolean
- intersects(Box3i box) const -> boolean
- majorAxis() const -> int
- isEmpty() const -> boolean
- hasVolume() const -> boolean
- isInfinite() const -> boolean
- clip(V3i in) const -> V3i
- closestPointOnBox(V3i p) const -> V3i
- closestPointInBox(V3i p) const -> V3i
- toTable() const -> table[6]
Imath.Box3f¶
- class Imath.Box3f¶
- V3f: None¶
- V3f: None
- Box3f() → Box3f¶
- Box3f(Box3f v) → Box3f
- Box3f(V3f point) → Box3f
- Box3f(V3f min, V3f max) → Box3f
- Box3f(float x, float y, float z) → Box3f
- Box3f(float x0, float y0, float z0, float x1, float y1, float z1) → Box3f
- Box3f(table[3] point) → Box3f
- Box3f(table[3] min, table[3] max) → Box3f
- Box3f(table[6] minMax) → Box3f
- operator==(Box3f o) const -> boolean
- operator!=(Box3f o) const -> boolean
- operator[](int idx) const -> float
- operator[](int idx, float value)
- makeEmpty()¶
- extendBy(V3f point)¶
- extendBy(Box3f box)
- makeInfinite()¶
- size() const -> V3f
- center() const -> V3f
- intersects(V3f point) const -> boolean
- intersects(Box3f box) const -> boolean
- majorAxis() const -> int
- isEmpty() const -> boolean
- hasVolume() const -> boolean
- isInfinite() const -> boolean
- clip(V3f in) const -> V3f
- closestPointOnBox(V3f p) const -> V3f
- closestPointInBox(V3f p) const -> V3f
- transform(M44f m) const -> Box3f
- affineTransform(M44f m) const -> Box3f
- findEntryAndExitPoints(Line3f ray, V3f& entry, V3f& exit) const -> boolean
- intersects(Line3f ray, V3f& intersectionPoint) const -> boolean
- intersects(Line3f ray) const -> boolean
- toTable() const -> table[6]
Imath.Box3d¶
- class Imath.Box3d¶
- V3d: None¶
- V3d: None
- Box3d() → Box3d¶
- Box3d(Box3d v) → Box3d
- Box3d(V3d point) → Box3d
- Box3d(V3d min, V3d max) → Box3d
- Box3d(double x, double y, double z) → Box3d
- Box3d(double x0, double y0, double z0, double x1, double y1, double z1) → Box3d
- Box3d(table[3] point) → Box3d
- Box3d(table[3] min, table[3] max) → Box3d
- Box3d(table[6] minMax) → Box3d
- operator==(Box3d o) const -> boolean
- operator!=(Box3d o) const -> boolean
- operator[](int idx) const -> double
- operator[](int idx, double value)
- makeEmpty()¶
- extendBy(V3d point)¶
- extendBy(Box3d box)
- makeInfinite()¶
- size() const -> V3d
- center() const -> V3d
- intersects(V3d point) const -> boolean
- intersects(Box3d box) const -> boolean
- majorAxis() const -> int
- isEmpty() const -> boolean
- hasVolume() const -> boolean
- isInfinite() const -> boolean
- clip(V3d in) const -> V3d
- closestPointOnBox(V3d p) const -> V3d
- closestPointInBox(V3d p) const -> V3d
- transform(M44d m) const -> Box3d
- affineTransform(M44d m) const -> Box3d
- findEntryAndExitPoints(Line3d ray, V3d& entry, V3d& exit) const -> boolean
- intersects(Line3d ray, V3d& intersectionPoint) const -> boolean
- intersects(Line3d ray) const -> boolean
- toTable() const -> table[6]