QwtPoint3D.3 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  1. .TH "QwtPoint3D" 3 "Mon Dec 28 2020" "Version 6.1.6" "Qwt User's Guide" \" -*- nroff -*-
  2. .ad l
  3. .nh
  4. .SH NAME
  5. QwtPoint3D \- \fBQwtPoint3D\fP class defines a 3D point in double coordinates\&.
  6. .SH SYNOPSIS
  7. .br
  8. .PP
  9. .PP
  10. \fC#include <qwt_point_3d\&.h>\fP
  11. .SS "Public Member Functions"
  12. .in +1c
  13. .ti -1c
  14. .RI "\fBQwtPoint3D\fP ()"
  15. .br
  16. .ti -1c
  17. .RI "\fBQwtPoint3D\fP (double \fBx\fP, double \fBy\fP, double \fBz\fP)"
  18. .br
  19. .RI "Constructs a point with coordinates specified by x, y and z\&. "
  20. .ti -1c
  21. .RI "\fBQwtPoint3D\fP (const \fBQwtPoint3D\fP &)"
  22. .br
  23. .ti -1c
  24. .RI "\fBQwtPoint3D\fP (const QPointF &)"
  25. .br
  26. .ti -1c
  27. .RI "bool \fBisNull\fP () const"
  28. .br
  29. .ti -1c
  30. .RI "double \fBx\fP () const"
  31. .br
  32. .ti -1c
  33. .RI "double \fBy\fP () const"
  34. .br
  35. .ti -1c
  36. .RI "double \fBz\fP () const"
  37. .br
  38. .ti -1c
  39. .RI "double & \fBrx\fP ()"
  40. .br
  41. .ti -1c
  42. .RI "double & \fBry\fP ()"
  43. .br
  44. .ti -1c
  45. .RI "double & \fBrz\fP ()"
  46. .br
  47. .ti -1c
  48. .RI "void \fBsetX\fP (double \fBx\fP)"
  49. .br
  50. .RI "Sets the x-coordinate of the point to the value specified by x\&. "
  51. .ti -1c
  52. .RI "void \fBsetY\fP (double \fBy\fP)"
  53. .br
  54. .RI "Sets the y-coordinate of the point to the value specified by y\&. "
  55. .ti -1c
  56. .RI "void \fBsetZ\fP (double \fBy\fP)"
  57. .br
  58. .RI "Sets the z-coordinate of the point to the value specified by z\&. "
  59. .ti -1c
  60. .RI "QPointF \fBtoPoint\fP () const"
  61. .br
  62. .ti -1c
  63. .RI "bool \fBoperator==\fP (const \fBQwtPoint3D\fP &) const"
  64. .br
  65. .ti -1c
  66. .RI "bool \fBoperator!=\fP (const \fBQwtPoint3D\fP &) const"
  67. .br
  68. .in -1c
  69. .SH "Detailed Description"
  70. .PP
  71. \fBQwtPoint3D\fP class defines a 3D point in double coordinates\&.
  72. .SH "Constructor & Destructor Documentation"
  73. .PP
  74. .SS "QwtPoint3D::QwtPoint3D ()\fC [inline]\fP"
  75. Constructs a null point\&.
  76. .PP
  77. \fBSee also\fP
  78. .RS 4
  79. \fBisNull()\fP
  80. .RE
  81. .PP
  82. .SS "QwtPoint3D::QwtPoint3D (const \fBQwtPoint3D\fP & other)\fC [inline]\fP"
  83. Copy constructor\&. Constructs a point using the values of the point specified\&.
  84. .SS "QwtPoint3D::QwtPoint3D (const QPointF & other)\fC [inline]\fP"
  85. Constructs a point with x and y coordinates from a 2D point, and a z coordinate of 0\&.
  86. .SH "Member Function Documentation"
  87. .PP
  88. .SS "bool QwtPoint3D::isNull () const\fC [inline]\fP"
  89. .PP
  90. \fBReturns\fP
  91. .RS 4
  92. True if the point is null; otherwise returns false\&.
  93. .RE
  94. .PP
  95. A point is considered to be null if x, y and z-coordinates are equal to zero\&.
  96. .SS "bool QwtPoint3D::operator!= (const \fBQwtPoint3D\fP & other) const\fC [inline]\fP"
  97. .PP
  98. \fBReturns\fP
  99. .RS 4
  100. True if this rect and other are different; otherwise returns false\&.
  101. .RE
  102. .PP
  103. .SS "bool QwtPoint3D::operator== (const \fBQwtPoint3D\fP & other) const\fC [inline]\fP"
  104. .PP
  105. \fBReturns\fP
  106. .RS 4
  107. True, if this point and other are equal; otherwise returns false\&.
  108. .RE
  109. .PP
  110. .SS "double & QwtPoint3D::rx ()\fC [inline]\fP"
  111. .PP
  112. \fBReturns\fP
  113. .RS 4
  114. A reference to the x-coordinate of the point\&.
  115. .RE
  116. .PP
  117. .SS "double & QwtPoint3D::ry ()\fC [inline]\fP"
  118. .PP
  119. \fBReturns\fP
  120. .RS 4
  121. A reference to the y-coordinate of the point\&.
  122. .RE
  123. .PP
  124. .SS "double & QwtPoint3D::rz ()\fC [inline]\fP"
  125. .PP
  126. \fBReturns\fP
  127. .RS 4
  128. A reference to the z-coordinate of the point\&.
  129. .RE
  130. .PP
  131. .SS "QPointF QwtPoint3D::toPoint () const\fC [inline]\fP"
  132. .PP
  133. \fBReturns\fP
  134. .RS 4
  135. 2D point, where the z coordinate is dropped\&.
  136. .RE
  137. .PP
  138. .SS "double QwtPoint3D::x () const\fC [inline]\fP"
  139. .PP
  140. \fBReturns\fP
  141. .RS 4
  142. The x-coordinate of the point\&.
  143. .RE
  144. .PP
  145. .SS "double QwtPoint3D::y () const\fC [inline]\fP"
  146. .PP
  147. \fBReturns\fP
  148. .RS 4
  149. The y-coordinate of the point\&.
  150. .RE
  151. .PP
  152. .SS "double QwtPoint3D::z () const\fC [inline]\fP"
  153. .PP
  154. \fBReturns\fP
  155. .RS 4
  156. The z-coordinate of the point\&.
  157. .RE
  158. .PP
  159. .SH "Author"
  160. .PP
  161. Generated automatically by Doxygen for Qwt User's Guide from the source code\&.