CFx SDK Documentation 2024 SP0
|
#include <GsDefs.h>
Public Types | |
enum | MaxFlag { Maximum } |
enum | MinFlag { Minimum } |
Public Member Functions | |
OdGsDCPoint () | |
OdGsDCPoint (OdInt32 xx, OdInt32 yy) | |
OdGsDCPoint (MaxFlag) | |
OdGsDCPoint (MinFlag) | |
void | operator= (MaxFlag) |
void | operator= (MinFlag) |
void | operator= (const OdGsDCPoint &dcPoint) |
bool | operator== (const OdGsDCPoint &dcPoint) const |
bool | operator!= (const OdGsDCPoint &dcPoint) const |
long | operator[] (unsigned int i) const |
Public Attributes | |
OdInt32 | x |
OdInt32 | y |
This class represents 2D Device Coordinate points. Corresponding C++ library: TD_Gs
<group OdGs_Classes>
enum OdGsDCPoint::MaxFlag |
enum OdGsDCPoint::MinFlag |
|
inline |
Default constructor for the OdGsDCPoint class. Creates an instance with 0 for x and y coordinates.
Constructor for the OdGsDCPoint class.
xx | [in] The X-coordinate of this point. |
yy | [in] The Y-coordinate of this point. |
|
inline |
Constructor for the OdGsDCPoint class. Builds an instance of the object with the following parameters: OdGsDCPoint(Maximum) sets x = SCALAR_MAX, y = SCALAR_MAX
MaxFlag | [in] Sets maximum allowed values for x and y axes. |
|
inline |
Constructor for the OdGsDCPoint class. Builds an instance of the object with the following parameters: OdGsDCPoint(Minimum) sets x = SCALAR_MIN, y = SCALAR_MIN
MinFlag | [in] Sets minimum allowed values for x and y axes. |
|
inline |
dcPoint | [in] 2D point in device coordinates to compare. |
|
inline |
dcPoint | [in] 2D point in device coordinates to assign. |
MaxFlag | [in] Sets maximum allowed values for x and y axes. |
MinFlag | [in] Sets minimum allowed values for x and y axes. |
|
inline |
dcPoint | [in] 2D point in device coordinates to compare. |
|
inline |