📄 qwtdoublepoint.3
字号:
.TH "QwtDoublePoint" 3 "16 Nov 2004" "Version 4.2.0" "Qwt User's Guide" \" -*- nroff -*-.ad l.nh.SH NAMEQwtDoublePoint \- .SH SYNOPSIS.br.PP.SH "Detailed Description".PP The QwtDoublePoint class defines a point in double coordinates .PPDefinition at line 22 of file qwt_double_rect.h..SS "Public Member Functions".in +1c.ti -1c.RI "\fBQwtDoublePoint\fP ()".br.ti -1c.RI "\fBQwtDoublePoint\fP (double x, double y)".br.ti -1c.RI "\fBQwtDoublePoint\fP (const QPoint &)".br.ti -1c.RI "bool \fBisNull\fP () const".br.ti -1c.RI "double \fBx\fP () const".br.ti -1c.RI "double \fBy\fP () const".br.ti -1c.RI "void \fBsetX\fP (double x)".br.ti -1c.RI "void \fBsetY\fP (double y)".br.ti -1c.RI "double & \fBrx\fP ()".br.ti -1c.RI "double & \fBry\fP ()".br.ti -1c.RI "bool \fBoperator==\fP (const \fBQwtDoublePoint\fP &) const".br.ti -1c.RI "bool \fBoperator!=\fP (const \fBQwtDoublePoint\fP &) const".br.ti -1c.RI "const \fBQwtDoublePoint\fP \fBoperator-\fP () const".br.ti -1c.RI "const \fBQwtDoublePoint\fP \fBoperator+\fP (const \fBQwtDoublePoint\fP &) const".br.ti -1c.RI "const \fBQwtDoublePoint\fP \fBoperator-\fP (const \fBQwtDoublePoint\fP &) const".br.ti -1c.RI "const \fBQwtDoublePoint\fP \fBoperator *\fP (double) const".br.ti -1c.RI "const \fBQwtDoublePoint\fP \fBoperator/\fP (double) const".br.ti -1c.RI "\fBQwtDoublePoint\fP & \fBoperator+=\fP (const \fBQwtDoublePoint\fP &)".br.ti -1c.RI "\fBQwtDoublePoint\fP & \fBoperator-=\fP (const \fBQwtDoublePoint\fP &)".br.ti -1c.RI "\fBQwtDoublePoint\fP & \fBoperator *=\fP (double)".br.ti -1c.RI "\fBQwtDoublePoint\fP & \fBoperator/=\fP (double)".br.in -1c.SH "Constructor & Destructor Documentation".PP .SS "QwtDoublePoint::QwtDoublePoint ()".PPConstructs a point with coordinates (0.0, 0.0) (\fBisNull()\fP returns TRUE). .PPDefinition at line 14 of file qwt_double_rect.cpp..PPReferenced by operator *(), operator+(), operator-(), and operator/()..SS "QwtDoublePoint::QwtDoublePoint (double x, double y)".PPConstructs a point with x value xpos and y value ypos. .PPDefinition at line 22 of file qwt_double_rect.cpp..SS "QwtDoublePoint::QwtDoublePoint (const QPoint &)".PPCopy constructor. .PPDefinition at line 29 of file qwt_double_rect.cpp..SH "Member Function Documentation".PP .SS "bool QwtDoublePoint::isNull () const".PPReturns TRUE if both the x value and the y value are 0; otherwise returns FALSE. Definition at line 181 of file qwt_double_rect.h..SS "const \fBQwtDoublePoint\fP QwtDoublePoint::operator * (double) const".PPReturns the point formed by multiplying both components by c. .PPDefinition at line 81 of file qwt_double_rect.cpp..PPReferences QwtDoublePoint()..SS "\fBQwtDoublePoint\fP & QwtDoublePoint::operator *= (double)".PPMultiplies this point's x and y by c, and returns a reference to this point. .PPDefinition at line 113 of file qwt_double_rect.cpp..SS "bool QwtDoublePoint::operator!= (const \fBQwtDoublePoint\fP &) const".PPReturns TRUE if point and other are not equal; otherwise returns FALSE. .PPDefinition at line 42 of file qwt_double_rect.cpp..PPReferences operator==()..SS "const \fBQwtDoublePoint\fP QwtDoublePoint::operator+ (const \fBQwtDoublePoint\fP & other) const".PPReturns the point formed by adding both components by the components of other. Each component is added separately. Definition at line 62 of file qwt_double_rect.cpp..PPReferences d_x, d_y, and QwtDoublePoint()..SS "\fBQwtDoublePoint\fP & QwtDoublePoint::operator+= (const \fBQwtDoublePoint\fP &)".PPAdds point other to this point and returns a reference to this point. .PPDefinition at line 95 of file qwt_double_rect.cpp..PPReferences d_x, and d_y..SS "const \fBQwtDoublePoint\fP QwtDoublePoint::operator- (const \fBQwtDoublePoint\fP & other) const".PPReturns the point formed by subtracting both components by the components of other. Each component is subtracted separately. Definition at line 73 of file qwt_double_rect.cpp..PPReferences d_x, d_y, and QwtDoublePoint()..SS "const \fBQwtDoublePoint\fP QwtDoublePoint::operator- () const".PPReturns the point formed by changing the sign of both components, equivalent to QDoublePoint(-x(), -y()); Definition at line 52 of file qwt_double_rect.cpp..PPReferences QwtDoublePoint()..SS "\fBQwtDoublePoint\fP & QwtDoublePoint::operator-= (const \fBQwtDoublePoint\fP &)".PPSubtracts point other from this point and returns a reference to this point. .PPDefinition at line 104 of file qwt_double_rect.cpp..PPReferences d_x, and d_y..SS "const \fBQwtDoublePoint\fP QwtDoublePoint::operator/ (double) const".PPReturns the point formed by dividing both components by c. .PPDefinition at line 88 of file qwt_double_rect.cpp..PPReferences QwtDoublePoint()..SS "\fBQwtDoublePoint\fP & QwtDoublePoint::operator/= (double)".PPDivides both x and y by c, and returns a reference to this point. .PPDefinition at line 122 of file qwt_double_rect.cpp..SS "bool QwtDoublePoint::operator== (const \fBQwtDoublePoint\fP &) const".PPReturns TRUE if point and other are equal; otherwise returns FALSE. .PPDefinition at line 36 of file qwt_double_rect.cpp..PPReferences d_x, and d_y..PPReferenced by operator!=()..SS "double & QwtDoublePoint::rx ()".PPReturns a reference to the x coordinate of the point. .PPDefinition at line 211 of file qwt_double_rect.h..SS "double & QwtDoublePoint::ry ()".PPReturns a reference to the y coordinate of the point. .PPDefinition at line 217 of file qwt_double_rect.h..SS "void QwtDoublePoint::setX (double x)".PPSets the x coordinate of the point to x. .PPDefinition at line 199 of file qwt_double_rect.h..SS "void QwtDoublePoint::setY (double y)".PPSets the y coordinate of the point to x. .PPDefinition at line 205 of file qwt_double_rect.h..SS "double QwtDoublePoint::x () const".PPReturns the x coordinate of the point. .PPDefinition at line 187 of file qwt_double_rect.h..PPReferenced by QwtDoubleRect::contains(), QwtPlotPicker::cursorLabel(), QwtDoubleRect::moveCenter(), and QwtPlotPicker::transform()..SS "double QwtDoublePoint::y () const".PPReturns the y coordinate of the point. .PPDefinition at line 193 of file qwt_double_rect.h..PPReferenced by QwtDoubleRect::contains(), QwtPlotPicker::cursorLabel(), QwtDoubleRect::moveCenter(), and QwtPlotPicker::transform()..SH "Author".PP Generated automatically by Doxygen for Qwt User's Guide from the source code.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -