20 #ifndef _FUNCPAIR_PLANARCONTOUR_LINE_H_
21 #define _FUNCPAIR_PLANARCONTOUR_LINE_H_
23 #include <mbsim/functions/contact/distance_function.h>
42 virtual double operator()(
const double &s) {
43 THROW_MBSIMERROR(
"(FuncPairPlanarContourLine::operator): Not implemented!");
49 virtual fmatvec::Vec3 evalWrD(
const double &s) {
50 THROW_MBSIMERROR(
"(FuncPairPlanarContourLine::evalWrD): Not implemented!");
57 virtual double operator[](
const double &s) {
return nrm2(evalWrD(s)); }
Definition: distance_function.h:27
double nrm2(const Vector< Ref, double > &x)
root function for pairing PlanarContour and Line
Definition: funcpair_planarcontour_line.h:34
unbounded line with constant normal
Definition: line.h:35
basic class for contour definition for rigid (which do not know about their shape) and flexible (they...
Definition: contour.h:40
FuncPairPlanarContourLine(Line *line_, Contour *contour_)
constructor
Definition: funcpair_planarcontour_line.h:39