SbBox3i32.3coin4 - Man Page

SbBox3i32

Synopsis

Public Member Functions

SbBox3i32 (int32_t xmin, int32_t ymin, int32_t zmin, int32_t xmax, int32_t ymax, int32_t zmax)
SbBox3i32 (const SbVec3i32 &minpoint, const SbVec3i32 &maxpoint)
SbBox3i32 (const SbBox3s &box)
SbBox3i32 (const SbBox3f &box)
SbBox3i32 (const SbBox3d &box)
SbBox3i32 & setBounds (int32_t xmin, int32_t ymin, int32_t zmin, int32_t xmax, int32_t ymax, int32_t zmax)
SbBox3i32 & setBounds (const SbVec3i32 &minpoint, const SbVec3i32 &maxpoint)
SbBox3i32 & setBounds (const SbBox3s &box)
SbBox3i32 & setBounds (const SbBox3f &box)
SbBox3i32 & setBounds (const SbBox3d &box)
void getBounds (int32_t &xmin, int32_t &ymin, int32_t &zmin, int32_t &xmax, int32_t &ymax, int32_t &zmax) const
void getBounds (SbVec3i32 &minpoint, SbVec3i32 &maxpoint) const
const SbVec3i32 & getMin (void) const
SbVec3i32 & getMin (void)
const SbVec3i32 & getMax (void) const
SbVec3i32 & getMax (void)
void extendBy (const SbVec3i32 &pt)
void extendBy (const SbBox3i32 &bb)
void extendBy (const SbVec3f &pt)
void transform (const SbMatrix &m)
void makeEmpty (void)
SbBool isEmpty (void) const
SbBool hasVolume (void) const
float getVolume (void) const
SbBool intersect (const SbVec3i32 &pt) const
SbBool intersect (const SbBox3i32 &bb) const
SbBool intersect (const SbVec3f &pt) const
SbBool outside (const SbMatrix &MVP, int &cullBits) const
SbVec3f getClosestPoint (const SbVec3f &pt) const
SbVec3f getCenter (void) const
void getOrigin (int32_t &originX, int32_t &originY, int32_t &originZ) const
void getSize (int32_t &sizeX, int32_t &sizeY, int32_t &sizeZ) const
SbVec3i32 getSize (void) const
void getSpan (const SbVec3f &direction, float &dmin, float &dmax) const

Protected Attributes

SbVec3i32 minpt
SbVec3i32 maxpt

Detailed Description

Member Function Documentation

SbBox3i32 & SbBox3i32::setBounds (const SbBox3s & box)

Reset the boundaries to the boundaries of the given box.

Returns reference to self.

See also

getBounds()

SbBox3i32 & SbBox3i32::setBounds (const SbBox3f & box)

Reset the boundaries to the boundaries of the given box.

Returns reference to self.

See also

getBounds()

SbBox3i32 & SbBox3i32::setBounds (const SbBox3d & box)

Reset the boundaries to the boundaries of the given box.

Returns reference to self.

See also

getBounds()

Author

Generated automatically by Doxygen for Coin from the source code.

Info

Sat Aug 1 2020 Version 4.0.0 Coin