|
32 | 32 | \pnum
|
33 | 33 | For purposes of determining whether a point is on the arc, if the value returned by \tcode{*this.angle_2()} is greater than the value returned by \tcode{*this.angle_1()} then the value returned by \tcode{*this.angle_2()} shall be continuously decremented by $2\pi$ until it is less than the value returned by \tcode{*this.angle_1()}.
|
34 | 34 |
|
35 |
| -\rSec1 [pathdataitem.arcnegative.synopsis] {\tcode{arc_negative} synopsis} |
| 35 | +\rSec1 [pathdataitem.arcnegative.synopsis] {\tcode{path_data_item::arc_negative} synopsis} |
36 | 36 |
|
37 | 37 | \begin{codeblock}
|
38 | 38 | namespace std { namespace experimental { namespace io2d { inline namespace v1 {
|
39 |
| - class arc_negative : public path_data { |
| 39 | + class path_data_item::arc_negative : public path_data_item::path_data { |
40 | 40 | public:
|
41 | 41 | // \ref{pathdataitem.arcnegative.cons}, construct/copy/move/destroy:
|
42 | 42 | arc_negative() noexcept;
|
43 |
| - arc_negative(const arc_negative& other) noexcept; |
44 |
| - arc_negative& operator=(const arc_negative& other) noexcept; |
45 |
| - arc_negative(arc_negative&& other) noexcept; |
46 |
| - arc_negative& operator=(arc_negative&& other) noexcept; |
| 43 | + arc_negative(const arc_negative&) noexcept; |
| 44 | + path_data_item::arc_negative& operator=(const arc_negative&) noexcept; |
| 45 | + arc_negative(arc_negative&&) noexcept; |
| 46 | + path_data_item::arc_negative& operator=(arc_negative&&) noexcept; |
47 | 47 | arc_negative(const vector_2d& ctr, double rad, double angle1,
|
48 | 48 | double angle2) noexcept;
|
49 | 49 |
|
|
69 | 69 | } } } }
|
70 | 70 | \end{codeblock}
|
71 | 71 |
|
72 |
| -\rSec1 [pathdataitem.arcnegative.cons] {\tcode{arc_negative} constructors and assignment operators} |
| 72 | +\rSec1 [pathdataitem.arcnegative.cons] {\tcode{path_data_item::arc_negative} constructors and assignment operators} |
73 | 73 |
|
74 |
| -\indexlibrary{\idxcode{arc_negative}!constructor} |
| 74 | +\indexlibrary{\idxcode{path_data_item::arc_negative}!constructor} |
75 | 75 | \begin{itemdecl}
|
76 | 76 | arc_negative() noexcept;
|
77 | 77 | \end{itemdecl}
|
78 | 78 | \begin{itemdescr}
|
79 | 79 | \pnum
|
80 | 80 | \effects
|
81 |
| - Constructs an object of type \tcode{arc_negative}. |
| 81 | + Constructs an object of type \tcode{path_data_item::arc_negative}. |
82 | 82 |
|
83 | 83 | \pnum
|
84 | 84 | \postconditions
|
|
89 | 89 | \tcode{_Angle_1 == 0.0}.
|
90 | 90 |
|
91 | 91 | \tcode{_Angle_2 == 0.0}.
|
92 |
| - |
93 | 92 | \end{itemdescr}
|
94 | 93 |
|
95 |
| -\indexlibrary{\idxcode{arc_negative}!constructor} |
| 94 | +\indexlibrary{\idxcode{path_data_item::arc_negative}!constructor} |
96 | 95 | \begin{itemdecl}
|
97 | 96 | arc_negative(const vector_2d& ctr, double rad, double angle1,
|
98 | 97 | double angle2) noexcept;
|
99 | 98 | \end{itemdecl}
|
100 | 99 | \begin{itemdescr}
|
101 | 100 | \pnum
|
102 | 101 | \effects
|
103 |
| - Constructs an object of type \tcode{arc_negative}. |
| 102 | + Constructs an object of type \tcode{path_data_item::arc_negative}. |
104 | 103 |
|
105 | 104 | \pnum
|
106 | 105 | \postconditions
|
|
111 | 110 | \tcode{_Angle_1 == angle1}.
|
112 | 111 |
|
113 | 112 | \tcode{_Angle_2 == angle2}.
|
114 |
| - |
115 | 113 | \end{itemdescr}
|
116 | 114 |
|
117 |
| -\rSec1 [pathdataitem.arcnegative.modifiers]{\tcode{arc_negative} modifiers} |
| 115 | +\rSec1 [pathdataitem.arcnegative.modifiers]{\tcode{path_data_item::arc_negative} modifiers} |
118 | 116 |
|
119 |
| -\indexlibrary{\idxcode{arc_negative}!\idxcode{center}} |
120 |
| -\indexlibrary{\idxcode{center}!\idxcode{arc_negative}} |
| 117 | +\indexlibrary{\idxcode{path_data_item::arc_negative}!\idxcode{center}} |
| 118 | +\indexlibrary{\idxcode{center}!\idxcode{path_data_item::arc_negative}} |
121 | 119 | \begin{itemdecl}
|
122 | 120 | void center(const vector_2d& value) noexcept;
|
123 | 121 | \end{itemdecl}
|
124 | 122 | \begin{itemdescr}
|
125 | 123 | \pnum
|
126 | 124 | \postconditions
|
127 | 125 | \tcode{_Center == value}.
|
128 |
| - |
129 | 126 | \end{itemdescr}
|
130 | 127 |
|
131 |
| -\indexlibrary{\idxcode{arc_negative}!\idxcode{radius}} |
132 |
| -\indexlibrary{\idxcode{radius}!\idxcode{arc_negative}} |
| 128 | +\indexlibrary{\idxcode{path_data_item::arc_negative}!\idxcode{radius}} |
| 129 | +\indexlibrary{\idxcode{radius}!\idxcode{path_data_item::arc_negative}} |
133 | 130 | \begin{itemdecl}
|
134 | 131 | void radius(double value) noexcept;
|
135 | 132 | \end{itemdecl}
|
136 | 133 | \begin{itemdescr}
|
137 | 134 | \pnum
|
138 | 135 | \postconditions
|
139 | 136 | \tcode{_Radius == value}.
|
140 |
| - |
141 | 137 | \end{itemdescr}
|
142 | 138 |
|
143 |
| -\indexlibrary{\idxcode{arc_negative}!\idxcode{angle_1}} |
144 |
| -\indexlibrary{\idxcode{angle_1}!\idxcode{arc_negative}} |
| 139 | +\indexlibrary{\idxcode{path_data_item::arc_negative}!\idxcode{angle_1}} |
| 140 | +\indexlibrary{\idxcode{angle_1}!\idxcode{path_data_item::arc_negative}} |
145 | 141 | \begin{itemdecl}
|
146 | 142 | void angle_1(double value) noexcept;
|
147 | 143 | \end{itemdecl}
|
148 | 144 | \begin{itemdescr}
|
149 | 145 | \pnum
|
150 | 146 | \postconditions
|
151 | 147 | \tcode{_Angle_1 == value}.
|
152 |
| - |
153 | 148 | \end{itemdescr}
|
154 | 149 |
|
155 |
| -\indexlibrary{\idxcode{arc_negative}!\idxcode{angle_2}} |
156 |
| -\indexlibrary{\idxcode{angle_2}!\idxcode{arc_negative}} |
| 150 | +\indexlibrary{\idxcode{path_data_item::arc_negative}!\idxcode{angle_2}} |
| 151 | +\indexlibrary{\idxcode{angle_2}!\idxcode{path_data_item::arc_negative}} |
157 | 152 | \begin{itemdecl}
|
158 | 153 | void angle_2(double value) noexcept;
|
159 | 154 | \end{itemdecl}
|
160 | 155 | \begin{itemdescr}
|
161 | 156 | \pnum
|
162 | 157 | \postconditions
|
163 | 158 | \tcode{_Angle_2 == value}.
|
164 |
| - |
165 | 159 | \end{itemdescr}
|
166 | 160 |
|
167 |
| -\rSec1 [pathdataitem.arcnegative.observers]{\tcode{arc_negative} observers} |
| 161 | +\rSec1 [pathdataitem.arcnegative.observers]{\tcode{path_data_item::arc_negative} observers} |
168 | 162 |
|
169 |
| -\indexlibrary{\idxcode{arc_negative}!\idxcode{center}} |
170 |
| -\indexlibrary{\idxcode{center}!\idxcode{arc_negative}} |
| 163 | +\indexlibrary{\idxcode{path_data_item::arc_negative}!\idxcode{center}} |
| 164 | +\indexlibrary{\idxcode{center}!\idxcode{path_data_item::arc_negative}} |
171 | 165 | \begin{itemdecl}
|
172 | 166 | vector_2d center() const noexcept;
|
173 | 167 | \end{itemdecl}
|
174 | 168 | \begin{itemdescr}
|
175 | 169 | \pnum
|
176 | 170 | \returns
|
177 | 171 | \tcode{_Center}.
|
178 |
| - |
179 | 172 | \end{itemdescr}
|
180 | 173 |
|
181 |
| -\indexlibrary{\idxcode{arc_negative}!\idxcode{radius}} |
182 |
| -\indexlibrary{\idxcode{radius}!\idxcode{arc_negative}} |
| 174 | +\indexlibrary{\idxcode{path_data_item::arc_negative}!\idxcode{radius}} |
| 175 | +\indexlibrary{\idxcode{radius}!\idxcode{path_data_item::arc_negative}} |
183 | 176 | \begin{itemdecl}
|
184 | 177 | double radius() const noexcept;
|
185 | 178 | \end{itemdecl}
|
186 | 179 | \begin{itemdescr}
|
187 | 180 | \pnum
|
188 | 181 | \returns
|
189 | 182 | \tcode{_Radius}.
|
190 |
| - |
191 | 183 | \end{itemdescr}
|
192 | 184 |
|
193 |
| -\indexlibrary{\idxcode{arc_negative}!\idxcode{angle_1}} |
194 |
| -\indexlibrary{\idxcode{angle_1}!\idxcode{arc_negative}} |
| 185 | +\indexlibrary{\idxcode{path_data_item::arc_negative}!\idxcode{angle_1}} |
| 186 | +\indexlibrary{\idxcode{angle_1}!\idxcode{path_data_item::arc_negative}} |
195 | 187 | \begin{itemdecl}
|
196 | 188 | double angle_1() const noexcept;
|
197 | 189 | \end{itemdecl}
|
198 | 190 | \begin{itemdescr}
|
199 | 191 | \pnum
|
200 | 192 | \returns
|
201 | 193 | \tcode{_Angle_1}.
|
202 |
| - |
203 | 194 | \end{itemdescr}
|
204 | 195 |
|
205 |
| -\indexlibrary{\idxcode{arc_negative}!\idxcode{angle_2}} |
206 |
| -\indexlibrary{\idxcode{angle_2}!\idxcode{arc_negative}} |
| 196 | +\indexlibrary{\idxcode{path_data_item::arc_negative}!\idxcode{angle_2}} |
| 197 | +\indexlibrary{\idxcode{angle_2}!\idxcode{path_data_item::arc_negative}} |
207 | 198 | \begin{itemdecl}
|
208 | 199 | double angle_2() const noexcept;
|
209 | 200 | \end{itemdecl}
|
210 | 201 | \begin{itemdescr}
|
211 | 202 | \pnum
|
212 | 203 | \returns
|
213 | 204 | \tcode{_Angle_2}.
|
214 |
| - |
215 | 205 | \end{itemdescr}
|
216 | 206 |
|
217 |
| -\indexlibrary{\idxcode{arc_negative}!\idxcode{type}} |
218 |
| -\indexlibrary{\idxcode{type}!\idxcode{arc_negative}} |
| 207 | +\indexlibrary{\idxcode{path_data_item::arc_negative}!\idxcode{type}} |
| 208 | +\indexlibrary{\idxcode{type}!\idxcode{path_data_item::arc_negative}} |
219 | 209 | \begin{itemdecl}
|
220 | 210 | virtual path_data_type type() const noexcept override;
|
221 | 211 | \end{itemdecl}
|
222 | 212 | \begin{itemdescr}
|
223 | 213 | \pnum
|
224 | 214 | \returns
|
225 | 215 | \tcode{path_data_type::arc_negative}.
|
226 |
| - |
227 | 216 | \end{itemdescr}
|
0 commit comments