Lines Matching refs:cross
26 Coord denom = cross(vector_a, vector_b);
28 Coord t = (cross(vector_b, origin_a) + cross(origin_b, vector_b)) / denom;
49 Piecewise<SBasis> k = cross(derivative(unitv),unitv);
78 if( Geom::cross(curve[0]-curve[1], curve[1]-curve[2]) < 0 ) {
89 if( Geom::cross(curve[1]-curve[2], curve[2]-curve[3]) < 0 ) {
584 if (Geom::cross(start_ray.versor(), end_ray.versor()) < 0) {
666 Geom::Crossings cross = Geom::crossings(res, temp);
669 if (cross.size() == 1) solution = 0;
670 else if (cross.size() > 1) {
672 // to the cross point of the paths
674 Geom::Coord trial = Geom::L2(res.pointAt(cross[0].ta)-original);
676 for (size_t i = 1; i < cross.size(); ++i) {
678 Geom::Coord test = Geom::L2(res.pointAt(cross[i].ta)-original);
688 Geom::Path d1 = res.portion(0., cross[solution].ta);
689 Geom::Path d2 = temp.portion(cross[solution].tb, temp.size());
745 rad = -l * (Geom::dot(der2, der2) / Geom::cross(der2, der3));
748 rad = -l * (Geom::dot(der1, der1) / Geom::cross(der1, der2));
1028 bool on_outside = (Geom::cross(in_tang, out_tang) > 0);