Searched refs:tangent (Results 1 - 8 of 8) sorted by relevance

/inkscape/src/libnrtype/
H A DLayout-TNG-Output.cpp671 Geom::Point tangent; local
672 const_cast<Path&>(path).PointAndTangentAt(point_otp[0].piece, point_otp[0].t, point, tangent);
675 _empty_cursor_shape.rotation = atan2(-tangent[Geom::X], tangent[Geom::Y]);
677 _empty_cursor_shape.rotation = atan2(tangent[Geom::Y], tangent[Geom::X]);
720 Geom::Point tangent; local
721 const_cast<Path&>(path).PointAndTangentAt(midpoint_otp[0].piece, midpoint_otp[0].t, midpoint, tangent);
743 tangent = endpoint - startpoint;
744 tangent
[all...]
H A DLayout-TNG-OutIter.cpp314 Geom::Point tangent; local
317 const_cast<Path*>(_path_fitted)->PointAndTangentAt(midpoint_otp[0].piece, midpoint_otp[0].t, midpoint, tangent);
322 Geom::Point normal = tangent.cw();
326 *rotation = atan2(tangent[1], tangent[0]);
468 path_parameter.t = 0.9999; // 1.0 will get the wrong tangent
473 Geom::Point tangent; local
474 const_cast<Path*>(_path_fitted)->PointAndTangentAt(path_parameter.piece, path_parameter.t, point, tangent);
476 point += x * tangent;
478 point += (x - path_length) * tangent;
[all...]
/inkscape/src/2geom/
H A Dcurve.cpp81 Point tangent = unitTangentAt(t); local
82 if (tangent[Y] > 0) {
86 } else if (tangent[Y] < 0) {
H A Dconic_section_clipper_impl.h200 * the intersection point of the tangent lines at points P and Q.
206 Line l1 = cs.tangent (P);
207 Line l2 = cs.tangent (Q);
231 // the line "l" origin is set to the tangent crossing point so in case
234 // end points are on the same branch, because they are paired) the tangent
H A Dconicsec.h386 * Compute the tangent line of the conic section at the provided point
388 * _point: the conic section point the tangent line pass through
390 Line tangent (const Point & _point) const function in class:Geom::xAx
/inkscape/src/
H A Dsnapped-curve.h28 SnappedCurve(Geom::Point const &snapped_point, Geom::Point const &tangent, int num_path, int num_segm, Geom::Coord const &snapped_distance, Geom::Coord const &snapped_tolerance, bool const &always_snap, bool const &fully_constrained, Geom::Curve const *curve, SnapSourceType source, long source_num, SnapTargetType target, Geom::OptRect target_bbox);
H A Dsnapped-curve.cpp15 Inkscape::SnappedCurve::SnappedCurve(Geom::Point const &snapped_point, Geom::Point const &tangent, int num_path, int num_segm, Geom::Coord const &snapped_distance, Geom::Coord const &snapped_tolerance, bool const &always_snap, bool const &fully_constrained, Geom::Curve const *curve, SnapSourceType source, long source_num, SnapTargetType target, Geom::OptRect target_bbox) argument
27 _tangent = tangent;
/inkscape/src/libavoid/
H A Dgeomtypes.cpp347 double tangent = rise / run; local
354 x2 += shorten_length * ypos * (1 / tangent);
358 y2 += shorten_length * xpos * tangent;
368 x1 -= shorten_length * ypos * (1 / tangent);
372 y1 -= shorten_length * xpos * tangent;

Completed in 141 milliseconds