CFx SDK Documentation  2020SP3
Public Member Functions | List of all members
OdGePosition2d Class Reference

#include <GePosition2d.h>

Inheritance diagram for OdGePosition2d:
OdGePointEnt2d OdGeEntity2d

Public Member Functions

 OdGePosition2d ()
 
 OdGePosition2d (const OdGePoint2d &point)
 
 OdGePosition2d (double x, double y)
 
 OdGePosition2d (const OdGePosition2d &source)
 
OdGePosition2dset (const OdGePoint2d &point)
 
OdGePosition2dset (double x, double y)
 
OdGePosition2doperator= (const OdGePosition2d &pos)
 
- Public Member Functions inherited from OdGePointEnt2d
OdGePoint2d point2d () const
 
 operator OdGePoint2d () const
 
OdGePointEnt2doperator= (const OdGePointEnt2d &point)
 
- Public Member Functions inherited from OdGeEntity2d
 ODRX_HEAP_OPERATORS ()
 
bool isKindOf (OdGe::EntityId entType) const
 
OdGe::EntityId type () const
 
OdGeEntity2dcopy () const
 
OdGeEntity2doperator= (const OdGeEntity2d &entity)
 
bool operator== (const OdGeEntity2d &entity) const
 
bool operator!= (const OdGeEntity2d &entity) const
 
bool isEqualTo (const OdGeEntity2d &other, const OdGeTol &tol=OdGeContext::gTol) const
 
OdGeEntity2dtransformBy (const OdGeMatrix2d &xfm)
 
OdGeEntity2dtranslateBy (const OdGeVector2d &translateVec)
 
OdGeEntity2drotateBy (double angle, const OdGePoint2d &basePoint=OdGePoint2d::kOrigin)
 
OdGeEntity2dmirror (const OdGeLine2d &line)
 
OdGeEntity2dscaleBy (double scaleFactor, const OdGePoint2d &basePoint=OdGePoint2d::kOrigin)
 
bool isOn (const OdGePoint2d &point, const OdGeTol &tol=OdGeContext::gTol) const
 
 ~OdGeEntity2d ()
 

Additional Inherited Members

- Protected Member Functions inherited from OdGePointEnt2d
 OdGePointEnt2d ()
 
 OdGePointEnt2d (const OdGePointEnt2d &source)
 
- Protected Member Functions inherited from OdGeEntity2d
 OdGeEntity2d ()
 
 OdGeEntity2d (const OdGeEntity2d &)
 
void connectTo (OdGeEntity2dImpl *)
 

Detailed Description

This class represents points (positions) in 2D space.

Corresponding C++ library: TD_Ge

<group OdGe_Classes>

See also
<link ge_OdGePosition.html, Working with Points>

Definition at line 42 of file GePosition2d.h.

Constructor & Destructor Documentation

◆ OdGePosition2d() [1/4]

OdGePosition2d::OdGePosition2d ( )
Parameters
point[in] Any 2D point.
x[in] The X-coordinate of the point.
y[in] The Y-coordinate of the point.
source[in] Object to be cloned.

◆ OdGePosition2d() [2/4]

OdGePosition2d::OdGePosition2d ( const OdGePoint2d point)

◆ OdGePosition2d() [3/4]

OdGePosition2d::OdGePosition2d ( double  x,
double  y 
)

◆ OdGePosition2d() [4/4]

OdGePosition2d::OdGePosition2d ( const OdGePosition2d source)

Member Function Documentation

◆ operator=()

OdGePosition2d& OdGePosition2d::operator= ( const OdGePosition2d pos)

◆ set() [1/2]

OdGePosition2d& OdGePosition2d::set ( const OdGePoint2d point)

Sets the coordinates of, and returns a reference to, this point.

Parameters
point[in] Any 2D point.

◆ set() [2/2]

OdGePosition2d& OdGePosition2d::set ( double  x,
double  y 
)

Sets the coordinates of, and returns a reference to, this point.

Parameters
x[in] The X-coordinate of the position.
y[in] The Y-coordinate of the position.

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