CFx SDK Documentation 2024 SP0
|
#include <GsDrawableHolder.h>
Public Member Functions | |
OdGsUpdateExtents () | |
OdGsUpdateExtents (const OdGeExtents3d &extents, OdDb::LineWeight lw=OdDb::kLnWt000) | |
const OdGeExtents3d & | getExtents () const |
OdGeExtents3d & | accessExtents () |
void | setExtents (const OdGeExtents3d &extents) |
void | resetExtents () |
void | addExtents (const OdGeExtents3d &extents) |
bool | hasLineweight () const |
OdDb::LineWeight | getLineweight () const |
OdDb::LineWeight & | accessLineweight () |
void | setLineweight (OdDb::LineWeight lw) |
void | resetLineweight () |
void | addLineweight (OdDb::LineWeight lw) |
void | get (OdGeExtents3d &extents, OdDb::LineWeight &lw) const |
void | set (const OdGeExtents3d &extents, OdDb::LineWeight lw) |
void | reset () |
void | add (const OdGeExtents3d &extents, OdDb::LineWeight lw) |
void | add (const OdGsUpdateExtents &extents) |
bool | isValid () const |
Static Public Attributes | |
static GS_STATIC_EXPORT const OdGsUpdateExtents | kInvalid |
Protected Attributes | |
OdGeExtents3d | m_extents |
OdDb::LineWeight | m_lineweight |
Corresponding C++ library: TD_Gs
<group OdGs_Classes>
Definition at line 42 of file GsDrawableHolder.h.
|
inline |
Default constructor for the OdGsUpdateExtents class. Initializes lineweight to zero lineweight.
Definition at line 54 of file GsDrawableHolder.h.
|
inline |
Constructor for the OdGsUpdateExtents class. Creates an instance based on the passed extents and lineweight.
extents | [in] Extents. |
lw | [in] Lineweight. |
Definition at line 64 of file GsDrawableHolder.h.
|
inline |
Returns extents of this object.
Definition at line 81 of file GsDrawableHolder.h.
|
inline |
Returns lineweight of this object.
Definition at line 134 of file GsDrawableHolder.h.
|
inline |
Expands extents of this object and replaces lineweight of this object if the passed lineweight has greater width.
extents | [in] Extents. |
lw | [in] Lineweight. |
Definition at line 202 of file GsDrawableHolder.h.
|
inline |
Expands extents of this object and replaces lineweight of this object if the passed object has with greater width.
extents | [in] Other object to add. |
Definition at line 213 of file GsDrawableHolder.h.
|
inline |
Expands the available extents of this object.
extents | [in] Extents. |
Definition at line 107 of file GsDrawableHolder.h.
|
inline |
Replaces lineweight of this object with the passed lineweight if the passed lineweight has greater width.
lw | [in] Lineweight. |
Definition at line 160 of file GsDrawableHolder.h.
|
inline |
Retrieves parameters of this object.
extents | [out] Receives extents of this object. |
lw | [out] Receives lineweight of this object. |
Definition at line 171 of file GsDrawableHolder.h.
|
inline |
Returns extents of this object.
Definition at line 73 of file GsDrawableHolder.h.
|
inline |
Returns lineweight of this object.
Definition at line 126 of file GsDrawableHolder.h.
|
inline |
Checks whether this object has non-zero lineweight.
Definition at line 118 of file GsDrawableHolder.h.
|
inline |
Checks whether extents of this object is valid.
Definition at line 224 of file GsDrawableHolder.h.
|
inline |
Resets extents of this object to invalid extents and lineweight of this object to zero lineweight.
Definition at line 191 of file GsDrawableHolder.h.
|
inline |
Resets extents of this object to invalid extents.
Definition at line 98 of file GsDrawableHolder.h.
|
inline |
Resets lineweight of this object to zero lineweight.
Definition at line 151 of file GsDrawableHolder.h.
|
inline |
Sets parameters for this object.
extents | [in] Extents to set. |
lw | [in] Lineweight to set. |
Definition at line 182 of file GsDrawableHolder.h.
|
inline |
Sets extents of this object.
extents | [in] Extents. |
Definition at line 90 of file GsDrawableHolder.h.
|
inline |
Sets lineweight of this object.
lw | [in] Lineweight. |
Definition at line 143 of file GsDrawableHolder.h.
|
static |
Invalid extents.
Definition at line 49 of file GsDrawableHolder.h.
|
protected |
Definition at line 45 of file GsDrawableHolder.h.
|
protected |
Definition at line 46 of file GsDrawableHolder.h.