OpenLexocad  28.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/Lin.h>
6 #include <Geom/Vec.h>
7 #include <Geom/GeomEnums.h>
8 #include <Topo/Types.h>
9 
10 namespace Topo
11 {
21 {
22  bool ok = false;
25 };
26 
36 {
37  bool ok = false;
38  double u;
39 };
40 
50 {
51  bool ok = false;
52  double offset;
54 };
55 
65 {
66  bool ok = false;
67  double u;
68 };
69 
79 {
80  bool ok = false;
81  double u;
82 };
83 
93 {
94  bool ok = false;
96 };
97 
107 {
108  bool ok = false;
110 };
111 
121 {
122  bool ok = false;
125 };
126 
136 {
137  bool ok = false;
141 };
142 
152 {
153  bool ok = false;
158 };
159 
169 {
170  bool ok = false;
173 };
174 
184 {
185  bool ok = false;
187 };
188 
198 {
199  bool ok = false;
201  double startParam;
202  double endParam;
203 };
204 
214 {
215  bool ok = false;
217  double startParam;
218  double endParam;
219  double scale;
220 };
221 
231 {
232  bool ok = false;
233  std::vector<Geom::Pnt> intersections;
234 };
235 
245 {
246  bool ok = false;
247  std::vector<Geom::Pnt> points;
248 };
249 
259 {
260  bool ok = false;
261  std::vector<Geom::Pnt> faceted_pnts;
262 };
263 
273 {
274  bool ok = false;
277 };
278 
279 } // namespace Topo
Topo::ET_SplitEdge_Result::edge2
pEdge edge2
Definition: ToolResults.h:172
Vec.h
Clothoid2d.h
Topo::ET_D1_Result
Struct holding the return values from EdgeTool::d1(). Returns ok=true if the operation was successful...
Definition: ToolResults.h:121
Topo::ET_CalculateOffsetFromEdgeThruPoint_Result
Struct holding the return values from EdgeTool::calculateOffsetFromEdgeThruPoint()....
Definition: ToolResults.h:50
Topo::ET_D3_Result::p
Geom::Pnt p
Definition: ToolResults.h:154
Topo::ET_FirstParameter_Result::ok
bool ok
Definition: ToolResults.h:66
Topo::ET_D2_Result
Struct holding the return values from EdgeTool::d2(). Returns ok=true if the operation was successful...
Definition: ToolResults.h:136
Circ.h
Topo::ET_Value_Result::ok
bool ok
Definition: ToolResults.h:94
Topo::ET_Bspline_facet_Result
Struct holding the return values from EdgeTool::bspline_facet(). Returns ok=true if the operation was...
Definition: ToolResults.h:259
Topo::ET_ArcParameters_Result
Struct holding the return values from EdgeTool::getArcParameters(). Returns ok=true if the operation ...
Definition: ToolResults.h:198
Topo::ET_D0_Result
Struct holding the return values from EdgeTool::d0(). Returns ok=true if the operation was successful...
Definition: ToolResults.h:107
Topo::ET_ProjectPointOnEdge_Result1
Struct holding the return values from EdgeTool::projectPointOnEdge(). Returns ok=true if the operatio...
Definition: ToolResults.h:21
Topo::ET_SplitEdge_Result
Struct holding the return values from EdgeTool::splitEdge(). Returns ok=true if the operation was suc...
Definition: ToolResults.h:169
Geom::Lin
Definition: Lin.h:49
Topo::ET_DiscretizeNonLinearEdge_Result::points
std::vector< Geom::Pnt > points
Definition: ToolResults.h:247
Lin.h
Geom::Vec
Defines a non-persistent vector in 3D space.
Definition: Vec.h:41
Topo::ET_ProjectPointOnEdge_Result1::refDirection
Geom::Dir refDirection
Definition: ToolResults.h:24
Topo::ET_LastParameter_Result
Struct holding the return values from EdgeTool::lastParameter(). Returns ok=true if the operation was...
Definition: ToolResults.h:79
Topo::ET_D3_Result::v1
Geom::Vec v1
Definition: ToolResults.h:155
Topo::ET_D3_Result::v2
Geom::Vec v2
Definition: ToolResults.h:156
Topo::ET_D2_Result::v2
Geom::Vec v2
Definition: ToolResults.h:140
Topo::ET_SplitEdge_Result::edge1
pEdge edge1
Definition: ToolResults.h:171
Topo::ET_ArcParameters_Result::ok
bool ok
Definition: ToolResults.h:199
Topo::ET_SplitEdge_Result::ok
bool ok
Definition: ToolResults.h:170
Topo::ET_Value_Result
Struct holding the return values from EdgeTool::value(). Returns ok=true if the operation was success...
Definition: ToolResults.h:93
Topo::ET_Bspline_facet_Result::ok
bool ok
Definition: ToolResults.h:260
Topo::ET_LineParameters_Result::ok
bool ok
Definition: ToolResults.h:215
Topo::ET_D2_Result::v1
Geom::Vec v1
Definition: ToolResults.h:139
Topo::ET_ProjectPointOnEdge_Result2::ok
bool ok
Definition: ToolResults.h:37
Topo::ET_ProjectPointOnEdge_Result2
Struct holding the return values from EdgeTool::projectPointOnEdge2(). Returns ok=true if the operati...
Definition: ToolResults.h:36
Topo::ET_DiscretizeNonLinearEdge_Result
Struct holding the return values from EdgeTool::discretizeNonLinearEdge(). Returns ok=true if the ope...
Definition: ToolResults.h:245
Topo::ET_DiscretizeNonLinearEdge_Result::ok
bool ok
Definition: ToolResults.h:246
Topo::ET_ProjectPointOnEdge_Result1::nearest
Geom::Pnt nearest
Definition: ToolResults.h:23
Geom::Dir
Definition: Dir.h:45
Topo::ET_GeomCurveType_Result::type
Geom::CurveType type
Definition: ToolResults.h:186
Topo::ET_ArcParameters_Result::circle
Geom::Circ circle
Definition: ToolResults.h:200
Topo::ET_LineParameters_Result::startParam
double startParam
Definition: ToolResults.h:217
Topo::ET_D3_Result::v3
Geom::Vec v3
Definition: ToolResults.h:157
Topo::ET_D3_Result
Struct holding the return values from EdgeTool::d3(). Returns ok=true if the operation was successful...
Definition: ToolResults.h:152
pEdge
std::shared_ptr< Topo::Edge > pEdge
Definition: Types.h:55
Topo::ET_D0_Result::ok
bool ok
Definition: ToolResults.h:108
Topo::ET_Bspline_facet_Result::faceted_pnts
std::vector< Geom::Pnt > faceted_pnts
Definition: ToolResults.h:261
Topo::ET_ClothoidParameters_Result::clothoid
Geom::Clothoid2d clothoid
Definition: ToolResults.h:276
Topo::ET_LastParameter_Result::ok
bool ok
Definition: ToolResults.h:80
Topo::ET_ArcParameters_Result::endParam
double endParam
Definition: ToolResults.h:202
Topo::ET_LastParameter_Result::u
double u
Definition: ToolResults.h:81
Geom::Circ
Definition: Circ.h:56
Topo::ET_CalculateOffsetFromEdgeThruPoint_Result::offset
double offset
Definition: ToolResults.h:52
Topo::ET_FirstParameter_Result
Struct holding the return values from EdgeTool::firstParameter(). Returns ok=true if the operation wa...
Definition: ToolResults.h:65
Geom::Pnt
Defines a non-persistent 3D Cartesian point.
Definition: Pnt.h:44
Geom::Ax2
Definition: Ax2.h:66
Topo::ET_D0_Result::p
Geom::Pnt p
Definition: ToolResults.h:109
Topo::ET_D1_Result::ok
bool ok
Definition: ToolResults.h:122
Geom::CurveType
CurveType
Definition: GeomEnums.h:12
Topo::ET_D2_Result::ok
bool ok
Definition: ToolResults.h:137
Topo::ET_Intersects_Result
Struct holding the return values from EdgeTool::intersects(). Returns ok=true if the operation was su...
Definition: ToolResults.h:231
Topo::ET_CalculateOffsetFromEdgeThruPoint_Result::ok
bool ok
Definition: ToolResults.h:51
Topo::ET_ProjectPointOnEdge_Result1::ok
bool ok
Definition: ToolResults.h:22
Topo::ET_Intersects_Result::ok
bool ok
Definition: ToolResults.h:232
Topo::ET_ProjectPointOnEdge_Result2::u
double u
Definition: ToolResults.h:38
Topo::ET_D3_Result::ok
bool ok
Definition: ToolResults.h:153
Topo
Definition: DbgInfo.h:17
Types.h
Topo::ET_GeomCurveType_Result::ok
bool ok
Definition: ToolResults.h:185
Geom::Clothoid2d
Definition: Clothoid2d.h:20
Topo::ET_LineParameters_Result::scale
double scale
Definition: ToolResults.h:219
Topo::ET_ClothoidParameters_Result
Struct holding the return values from EdgeTool::getClothoidParameters(). Returns ok=true if the opera...
Definition: ToolResults.h:273
Topo::ET_GeomCurveType_Result
Struct holding the return values from EdgeTool::getGeomCurveType(). Returns ok=true if the operation ...
Definition: ToolResults.h:184
Topo::ET_Value_Result::p
Geom::Pnt p
Definition: ToolResults.h:95
Topo::ET_ClothoidParameters_Result::ok
bool ok
Definition: ToolResults.h:274
Topo::ET_CalculateOffsetFromEdgeThruPoint_Result::refDirection
Geom::Dir refDirection
Definition: ToolResults.h:53
Topo::ET_LineParameters_Result::endParam
double endParam
Definition: ToolResults.h:218
GeomEnums.h
Topo::ET_D2_Result::p
Geom::Pnt p
Definition: ToolResults.h:138
Topo::ET_ArcParameters_Result::startParam
double startParam
Definition: ToolResults.h:201
Topo::ET_FirstParameter_Result::u
double u
Definition: ToolResults.h:67
Topo::ET_D1_Result::p
Geom::Pnt p
Definition: ToolResults.h:123
Topo::ET_ClothoidParameters_Result::ax2
Geom::Ax2 ax2
Definition: ToolResults.h:275
Topo::ET_LineParameters_Result
Struct holding the return values from EdgeTool::getLineParameters(). Returns ok=true if the operation...
Definition: ToolResults.h:214
Topo::ET_LineParameters_Result::line
Geom::Lin line
Definition: ToolResults.h:216
Topo::ET_D1_Result::v1
Geom::Vec v1
Definition: ToolResults.h:124
Topo::ET_Intersects_Result::intersections
std::vector< Geom::Pnt > intersections
Definition: ToolResults.h:233