44 namespace NekMeshUtils
74 ASSERTL0(GetNumSurf() == 1,
"wont work for multi surfaces yet");
79 NekDouble tst = c1->GetTotLength() - c2->GetTotLength();
80 ASSERTL0(fabs(tst) < 1e-6,
"periodic curves not same length");
82 vector<CADVertSharedPtr> v1 = c1->GetVertex();
86 vector<CADVertSharedPtr> v2 = c2->GetVertex();
87 if (c1->GetOrienationWRT(1) == c2->GetOrienationWRT(1))
97 ret[0] = p2[0] - p1[0];
98 ret[1] = p2[1] - p1[1];
99 ret[2] = p2[2] - p1[2];
CADCurveFactory & GetCADCurveFactory()
#define ASSERTL0(condition, msg)
CADVertFactory & GetCADVertFactory()
CADSurfFactory & GetCADSurfFactory()
std::shared_ptr< CADCurve > CADCurveSharedPtr
EngineFactory & GetEngineFactory()
Provides a generic Factory class.