Searched defs:tangent (Results 1 - 6 of 6) sorted by relevance

/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 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.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;
/inkscape/src/libnrtype/
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...]
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...]

Completed in 108 milliseconds