#include <tvu_typesdef.h>
Inheritance diagram for CTPoint2D::
Public Methods | |
CTPoint2D () | |
CTPoint2D (TPOINT2D p2d) | |
CTPoint2D (double _x, double _y) | |
DEFINE_ID_FUNCTIONS (CTPoint2D, CTObject, CLASSNAME_TYPE_POINT2D_ID, CLASSNAME_TYPE_POINT2D) public | |
virtual TPOINT3D | GetLocation () |
virtual TBOOL | OnSaving (LPCTFile pFile, TINT Marge) |
Save the object. More... | |
virtual TBOOL | OnSaving (TLPSTR pBuffers, TINT Marge) |
virtual TBOOL | OnLoading (LPTBYTE *lpBuffers) |
Load the object from buffers. More... | |
virtual TBOOL | OnLoading (LPCTFile pFile) |
Load the object a file. More... | |
virtual CTObject* | Calculate (TINT iOperator, CTObject *Object) |
Calculate the mathematical operators: +, -, *, / and the comparing operators: =, <, <=, >, >=. In this case, the returned value is an object of CTInt. More... | |
virtual CTObject* | SetValue (CTList pValues) |
For calculation. More... | |
TBOOL | operator== (TPOINT2D p2d) |
Operations Comparing operations. More... | |
TBOOL | operator== (CTPoint2D &p2d) |
TBOOL | operator!= (TPOINT2D p2d) |
TBOOL | operator!= (CTPoint2D &p2d) |
CTPoint2D& | operator= (CTPoint2D &p2d) |
CTPoint2D& | operator= (TPOINT2D &p2d) |
CTPoint2D& | operator-= (CTPoint2D &p2d) |
CTPoint2D& | operator-= (CTSize2D &s2d) |
CTPoint2D& | operator+= (CTPoint2D &p2d) |
CTPoint2D& | operator+= (CTSize2D &s2d) |
CTPoint2D& | operator *= (CTSize2D &s2d) |
CTPoint2D& | operator/= (CTSize2D &s2d) |
TPOINT2D | POINT2D () |
Convert. More... | |
Data Fields | |
double | x |
Data. More... | |
double | y |
Data. More... |
|
Calculate the mathematical operators: +, -, *, / and the comparing operators: =, <, <=, >, >=. In this case, the returned value is an object of CTInt.
Reimplemented from CTObject. Reimplemented in CTPoint3D. |
|
Load the object a file.
Reimplemented from CTObject. Reimplemented in CTPoint3D. |
|
Load the object from buffers.
Reimplemented from CTObject. Reimplemented in CTPoint3D. |
|
Save the object.
Reimplemented from CTObject. Reimplemented in CTPoint3D. |
|
Convert.
01885 { TPOINT2D p2d = {x, y}; return p2d; }; |
|
For calculation.
Reimplemented from CTObject. Reimplemented in CTPoint3D. |
|
Operations Comparing operations.
01864 { return (x == p2d.x) && (y == p2d.y);} ; |
|
Data.
|
|
Data.
|