CFx SDK Documentation  2022 SP0
Public Member Functions | Public Attributes | List of all members
OdGsDCRectDouble Class Reference

#include <GsDefs.h>

Public Member Functions

 OdGsDCRectDouble ()
 
 OdGsDCRectDouble (const OdGePoint2d &minPoint, const OdGePoint2d &maxPoint)
 
 OdGsDCRectDouble (double xMin, double xMax, double yMin, double yMax)
 
 OdGsDCRectDouble (const OdGsDCRect &rc)
 
OdGsDCRectDoubleoperator= (const OdGsDCRect &dcRect)
 
bool operator== (const OdGsDCRectDouble &dcRect) const
 
bool operator!= (const OdGsDCRectDouble &dcRect) const
 
OdGsDCRect round () const
 

Public Attributes

OdGePoint2d m_min
 
OdGePoint2d m_max
 

Detailed Description

This class represents 2D device coordinate rectangles. Corresponding C++ library: TD_Gs

Remarks
Device coordinates are measured in pixels from the lower-left corner of the device.
See also
Coordinate Systems.

<group OdGs_Classes>

Definition at line 241 of file GsDefs.h.

Constructor & Destructor Documentation

◆ OdGsDCRectDouble() [1/4]

OdGsDCRectDouble::OdGsDCRectDouble ( )
inline
Parameters
minPoint[in] Lower-left corner.
maxPoint[in] Upper-right corner.
xMin[in] Minimum X-coordinate.
xMax[in] Maximum X-coordinate.
yMin[in] Minimum Y-coordinate.
yMax[in] Maximum Y-coordinate.

Definition at line 251 of file GsDefs.h.

◆ OdGsDCRectDouble() [2/4]

OdGsDCRectDouble::OdGsDCRectDouble ( const OdGePoint2d minPoint,
const OdGePoint2d maxPoint 
)
inline

Definition at line 253 of file GsDefs.h.

◆ OdGsDCRectDouble() [3/4]

OdGsDCRectDouble::OdGsDCRectDouble ( double  xMin,
double  xMax,
double  yMin,
double  yMax 
)
inline

Definition at line 256 of file GsDefs.h.

◆ OdGsDCRectDouble() [4/4]

OdGsDCRectDouble::OdGsDCRectDouble ( const OdGsDCRect rc)
inlineexplicit

Definition at line 259 of file GsDefs.h.

Member Function Documentation

◆ operator!=()

bool OdGsDCRectDouble::operator!= ( const OdGsDCRectDouble dcRect) const
inline

Definition at line 274 of file GsDefs.h.

◆ operator=()

OdGsDCRectDouble& OdGsDCRectDouble::operator= ( const OdGsDCRect dcRect)
inline

Definition at line 262 of file GsDefs.h.

◆ operator==()

bool OdGsDCRectDouble::operator== ( const OdGsDCRectDouble dcRect) const
inline

Definition at line 270 of file GsDefs.h.

◆ round()

OdGsDCRect OdGsDCRectDouble::round ( ) const
inline

Definition at line 279 of file GsDefs.h.

Member Data Documentation

◆ m_max

OdGePoint2d OdGsDCRectDouble::m_max

Definition at line 289 of file GsDefs.h.

◆ m_min

OdGePoint2d OdGsDCRectDouble::m_min

Definition at line 288 of file GsDefs.h.


The documentation for this class was generated from the following file: