- // Helper internal functions.
+// Helper internal functions.
double shape_length(const TopoDS_Shape &sh)
{
Handle_Adaptor3d_HCurve adapt = curve_adaptor(sh);
ArclengthProjectionLineManifold<dim,spacedim>::pull_back(const Point<spacedim> &space_point) const
{
double t (0.0);
-#ifdef DEBUG
ShapeAnalysis_Curve curve_analysis;
gp_Pnt proj;
- Assert(curve_analysis.Project(curve->GetCurve(), point(space_point), tolerance, proj, t, true)
- < tolerance*length, ExcPointNotOnManifold(space_point));
+#ifdef DEBUG
+ Assert(curve_analysis.Project(curve->GetCurve(), point(space_point), tolerance, proj, t, true) <
+ tolerance*length, ExcPointNotOnManifold(space_point));
#else
- (void)space_point;
+ curve_analysis.Project(curve->GetCurve(), point(space_point), tolerance, proj, t, true);
#endif
return Point<1>(GCPnts_AbscissaPoint::Length(curve->GetCurve(),curve->GetCurve().FirstParameter(),t));
}
}
- // Explicit instantiations
+// Explicit instantiations
#include "boundary_lib.inst"
} // end namespace OpenCASCADE