OpenLexocad  27.0
ToolResults.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <Geom/Circ.h>
4 #include <Geom/Clothoid2d.h>
5 #include <Geom/Dir.h>
6 #include <Geom/Lin.h>
7 #include <Geom/Pnt.h>
8 #include <Geom/Vec.h>
9 #include <Topo/Shape.h>
10 #include <Topo/topo_defines.h>
11 
12 namespace Topo
13 {
23 {
24  bool ok = false;
27 };
28 
38 {
39  bool ok = false;
40  double u;
41 };
42 
52 {
53  bool ok = false;
54  double offset;
56 };
57 
67 {
68  bool ok = false;
69  double u;
70 };
71 
81 {
82  bool ok = false;
83  double u;
84 };
85 
95 {
96  bool ok = false;
98 };
99 
109 {
110  bool ok = false;
112 };
113 
123 {
124  bool ok = false;
127 };
128 
138 {
139  bool ok = false;
143 };
144 
154 {
155  bool ok = false;
160 };
161 
171 {
172  bool ok = false;
175 };
176 
186 {
187  bool ok = false;
189 };
190 
200 {
201  bool ok = false;
203  double startParam;
204  double endParam;
205 };
206 
216 {
217  bool ok = false;
219  double startParam;
220  double endParam;
221  double scale;
222 };
223 
233 {
234  bool ok = false;
235  std::vector<Geom::Pnt> intersections;
236 };
237 
247 {
248  bool ok = false;
249  std::vector<Geom::Pnt> points;
250 };
251 
261 {
262  bool ok = false;
263  std::vector<Geom::Pnt> faceted_pnts;
264 };
265 
275 {
276  bool ok = false;
279 };
280 
281 } // namespace Topo
Definition: Circ.h:66
Struct holding the return values from EdgeTool::discretizeNonLinearEdge(). Returns ok=true if the ope...
Definition: ToolResults.h:246
pEdge edge2
Definition: ToolResults.h:174
Geom::Dir refDirection
Definition: ToolResults.h:26
Geom::Pnt p
Definition: ToolResults.h:125
Struct holding the return values from EdgeTool::intersects(). Returns ok=true if the operation was su...
Definition: ToolResults.h:232
Geom::Pnt p
Definition: ToolResults.h:97
Geom::Ax2 ax2
Definition: ToolResults.h:277
Struct holding the return values from EdgeTool::firstParameter(). Returns ok=true if the operation wa...
Definition: ToolResults.h:66
double u
Definition: ToolResults.h:83
Geom::Vec v1
Definition: ToolResults.h:126
Geom::Pnt p
Definition: ToolResults.h:140
#define TOPO_EXPORT
Definition: topo_defines.h:8
Defines a non-persistent 3D Cartesian point.
Definition: Pnt.h:42
double startParam
Definition: ToolResults.h:203
Struct holding the return values from EdgeTool::d2(). Returns ok=true if the operation was successful...
Definition: ToolResults.h:137
double endParam
Definition: ToolResults.h:204
Struct holding the return values from EdgeTool::d1(). Returns ok=true if the operation was successful...
Definition: ToolResults.h:122
Struct holding the return values from EdgeTool::projectPointOnEdge(). Returns ok=true if the operatio...
Definition: ToolResults.h:22
Struct holding the return values from EdgeTool::d0(). Returns ok=true if the operation was successful...
Definition: ToolResults.h:108
Struct holding the return values from EdgeTool::lastParameter(). Returns ok=true if the operation was...
Definition: ToolResults.h:80
Geom::Vec v1
Definition: ToolResults.h:141
Geom::Circ circle
Definition: ToolResults.h:202
pEdge edge1
Definition: ToolResults.h:173
Geom::CurveType type
Definition: ToolResults.h:188
Struct holding the return values from EdgeTool::calculateOffsetFromEdgeThruPoint()....
Definition: ToolResults.h:51
Struct holding the return values from EdgeTool::getGeomCurveType(). Returns ok=true if the operation ...
Definition: ToolResults.h:185
Struct holding the return values from EdgeTool::splitEdge(). Returns ok=true if the operation was suc...
Definition: ToolResults.h:170
Geom::Pnt p
Definition: ToolResults.h:156
Struct holding the return values from EdgeTool::projectPointOnEdge2(). Returns ok=true if the operati...
Definition: ToolResults.h:37
Definition: Ax2.h:69
Definition: Lin.h:50
double startParam
Definition: ToolResults.h:219
Geom::Vec v1
Definition: ToolResults.h:157
Struct holding the return values from EdgeTool::bspline_facet(). Returns ok=true if the operation was...
Definition: ToolResults.h:260
Definition: Dir.h:46
Struct holding the return values from EdgeTool::value(). Returns ok=true if the operation was success...
Definition: ToolResults.h:94
Struct holding the return values from EdgeTool::getArcParameters(). Returns ok=true if the operation ...
Definition: ToolResults.h:199
Definition: Variant.h:70
Geom::Dir refDirection
Definition: ToolResults.h:55
Geom::Vec v3
Definition: ToolResults.h:159
Defines a non-persistent vector in 3D space.
Definition: Vec.h:45
double u
Definition: ToolResults.h:40
CurveType
Definition: GeomEnums.h:14
double scale
Definition: ToolResults.h:221
Geom::Pnt nearest
Definition: ToolResults.h:25
Geom::Pnt p
Definition: ToolResults.h:111
Struct holding the return values from EdgeTool::getLineParameters(). Returns ok=true if the operation...
Definition: ToolResults.h:215
std::vector< Geom::Pnt > points
Definition: ToolResults.h:249
double endParam
Definition: ToolResults.h:220
Struct holding the return values from EdgeTool::getClothoidParameters(). Returns ok=true if the opera...
Definition: ToolResults.h:274
double offset
Definition: ToolResults.h:54
Geom::Vec v2
Definition: ToolResults.h:142
std::vector< Geom::Pnt > faceted_pnts
Definition: ToolResults.h:263
Geom::Lin line
Definition: ToolResults.h:218
Struct holding the return values from EdgeTool::d3(). Returns ok=true if the operation was successful...
Definition: ToolResults.h:153
std::vector< Geom::Pnt > intersections
Definition: ToolResults.h:235
Geom::Vec v2
Definition: ToolResults.h:158
double u
Definition: ToolResults.h:69
Geom::Clothoid2d clothoid
Definition: ToolResults.h:278
Definition: Clothoid2d.h:21
std::shared_ptr< Topo::Edge > pEdge
Definition: Shape.h:84