Go to the documentation of this file.
24 namespace Base {
struct Double; }
25 namespace Core {
class DocObject; }
26 namespace Geom {
class Trsf; }
78 static bool bspline_facet(
const std::vector<Geom::Pnt>& pnts,
const bool& periodic, std::vector<Geom::Pnt>& faceted_pnts,
double tolerance);
82 static pEdge join(
const std::vector<pConstEdge>& edges);
112 #ifndef SWIG // INTERFACES BELOW ARE -NOT- PART OF THE LEXOCAD API
113 static void __setDefaultEdgeTool__(
Topo::EdgeTool* tool) { _defaultTool = tool; }
122 virtual pEdge _makeArcOfCircle(
const Geom::Circ& circ,
double param1,
double param2,
bool sameSense);
127 virtual bool _sense(
pConstEdge edge,
bool& sense);
128 virtual bool _firstParameter(
pConstEdge edge,
double& u);
129 virtual bool _lastParameter(
pConstEdge edge,
double& u);
141 virtual bool _getArcParameters(
pConstEdge edge,
Geom::Circ& circle,
double& startParam,
double& endParam);
142 virtual bool _getLineParameters(
pConstEdge edge,
Geom::Lin& line,
double& startParam,
double& endParam,
double& scale);
144 virtual bool _intersects(
pConstEdge edge1,
pConstEdge edge2, std::vector<Geom::Pnt>& intersections,
double tolerance);
148 virtual bool _discretizeNonLinearEdge(
pConstEdge edge, std::vector<Geom::Pnt>& points,
double deflection);
150 virtual const void* _getInstancePointer(
pConstEdge edge);
151 virtual bool _bspline_facet(
const std::vector<Geom::Pnt>& pnts,
const bool& periodic, std::vector<Geom::Pnt>& faceted_pnts,
double tolerance);
155 virtual std::pair<std::vector<double>, std::vector<Geom::Pnt>> _getKnotsAndControlPointsFromEdge(
pConstEdge edge);
156 virtual pEdge _join(
const std::vector<pConstEdge>& edges);
Struct holding the return values from EdgeTool::d1(). Returns ok=true if the operation was successful...
Definition: ToolResults.h:121
Struct holding the return values from EdgeTool::calculateOffsetFromEdgeThruPoint()....
Definition: ToolResults.h:50
Struct holding the return values from EdgeTool::d2(). Returns ok=true if the operation was successful...
Definition: ToolResults.h:136
Struct holding the return values from EdgeTool::bspline_facet(). Returns ok=true if the operation was...
Definition: ToolResults.h:259
Struct holding the return values from EdgeTool::getArcParameters(). Returns ok=true if the operation ...
Definition: ToolResults.h:198
Struct holding the return values from EdgeTool::d0(). Returns ok=true if the operation was successful...
Definition: ToolResults.h:107
Struct holding the return values from EdgeTool::projectPointOnEdge(). Returns ok=true if the operatio...
Definition: ToolResults.h:21
Struct holding the return values from EdgeTool::splitEdge(). Returns ok=true if the operation was suc...
Definition: ToolResults.h:169
Defines a non-persistent vector in 3D space.
Definition: Vec.h:41
Struct holding the return values from EdgeTool::lastParameter(). Returns ok=true if the operation was...
Definition: ToolResults.h:79
Struct holding the return values from EdgeTool::value(). Returns ok=true if the operation was success...
Definition: ToolResults.h:93
Struct holding the return values from EdgeTool::projectPointOnEdge2(). Returns ok=true if the operati...
Definition: ToolResults.h:36
Struct holding the return values from EdgeTool::discretizeNonLinearEdge(). Returns ok=true if the ope...
Definition: ToolResults.h:245
Struct holding the return values from EdgeTool::d3(). Returns ok=true if the operation was successful...
Definition: ToolResults.h:152
std::shared_ptr< Topo::Shape > pShape
Definition: Variant.h:64
Definition: DocObject.h:54
std::shared_ptr< Topo::Edge > pEdge
Definition: Types.h:55
Struct holding the return values from EdgeTool::firstParameter(). Returns ok=true if the operation wa...
Definition: ToolResults.h:65
Defines a non-persistent 3D Cartesian point.
Definition: Pnt.h:44
CurveType
Definition: GeomEnums.h:12
Struct holding the return values from EdgeTool::intersects(). Returns ok=true if the operation was su...
Definition: ToolResults.h:231
std::shared_ptr< Topo::Edge const > pConstEdge
Definition: Types.h:72
Definition: Clothoid2d.h:20
Struct holding the return values from EdgeTool::getClothoidParameters(). Returns ok=true if the opera...
Definition: ToolResults.h:273
Struct holding the return values from EdgeTool::getGeomCurveType(). Returns ok=true if the operation ...
Definition: ToolResults.h:184
Struct holding the return values from EdgeTool::getLineParameters(). Returns ok=true if the operation...
Definition: ToolResults.h:214
OrientationType
Definition: Types.h:36
Definition: AbstractXMLReader.h:5
std::shared_ptr< Topo::Coedge const > pConstCoedge
Definition: Types.h:73
Definition: PropertyContainer.h:33