Lines Matching defs:lpe
17 #include "live_effects/lpe-perp_bisector.h"
21 #include "sp-lpe-item.h"
53 LPEPerpBisector const* lpe = dynamic_cast<LPEPerpBisector const*>(_effect);
54 return Geom::Point(lpe->C);
59 LPEPerpBisector const* lpe = dynamic_cast<LPEPerpBisector const*>(_effect);
60 return Geom::Point(lpe->D);
65 LPEPerpBisector *lpe = dynamic_cast<LPEPerpBisector *>(_effect);
66 if (!lpe) return;
70 double lambda = Geom::nearest_time(s, lpe->M, lpe->perp_dir);
72 lpe->C = lpe->M + lpe->perp_dir * lambda;
73 lpe->length_left.param_set_value(lambda);
75 lpe->D = lpe->M + lpe->perp_dir * lambda;
76 lpe->length_right.param_set_value(-lambda);