Encapsulates some useful static methods. More...
#include <Geometry.h>
Classes | |
struct | ReturnType |
Used by nextGeom() More... | |
Static Public Member Functions | |
static BaseGeomPtrVector | chainGeoms (BaseGeomPtrVector geoms) |
return a vector of BaseGeomPtr's in tail to nose order More... | |
static TopoDS_Edge | edgeFromCircle (TechDraw::CirclePtr c) |
static TopoDS_Edge | edgeFromCircleArc (TechDraw::AOCPtr c) |
static TopoDS_Edge | edgeFromGeneric (TechDraw::GenericPtr g) |
static ReturnType | nextGeom (Base::Vector3d atPoint, std::vector< TechDraw::BaseGeomPtr > geoms, std::vector< bool > used, double tolerance) |
Find an unused geom starts or ends at atPoint. More... | |
Encapsulates some useful static methods.
|
static |
return a vector of BaseGeomPtr's in tail to nose order
References Base::Console(), Base::ConsoleSingleton::Log(), and nextGeom().
|
static |
Referenced by TechDraw::CosmeticEdge::Restore(), and TechDraw::CenterLine::Restore().
|
static |
Referenced by TechDraw::CosmeticEdge::Restore(), and TechDraw::CenterLine::Restore().
|
static |
References Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
Referenced by TechDraw::CosmeticEdge::Restore(), and TechDraw::CenterLine::Restore().
|
static |
Find an unused geom starts or ends at atPoint.
returns index[1:geoms.size()),reversed [true,false]
References draftutils.utils::tolerance().
Referenced by chainGeoms().