Inkscape
Vector Graphics Editor
|
Go to the source code of this file.
Namespaces | |
namespace | Geom |
Various utility functions. | |
Typedefs | |
typedef std::vector< Geom::Point > | PointVec |
typedef std::vector< double > | DoubleVec |
typedef std::vector< Geom::Linear > | LinearVec |
Functions | |
void | wrap_point () |
void | wrap_etc () |
void | wrap_interval () |
void | wrap_transforms () |
void | wrap_rect () |
void | wrap_circle () |
void | wrap_ellipse () |
void | wrap_sbasis () |
void | wrap_bezier () |
void | wrap_linear () |
void | wrap_pw () |
void | wrap_d2 () |
void | wrap_path () |
void | wrap_parser () |
void | wrap_ray () |
void | wrap_line () |
void | wrap_conic () |
void | wrap_crossing () |
typedef std::vector<Geom::Linear> LinearVec |
typedef std::vector<Geom::Point > PointVec |
void wrap_bezier | ( | ) |
Definition at line 55 of file bezier.cpp.
References Geom::Bezier::at0(), Geom::Bezier::at1(), bezier_getitem(), Geom::Bezier::isFinite(), Geom::Bezier::isZero(), Geom::Bezier::toSBasis(), and Geom::Bezier::valueAt().
Referenced by BOOST_PYTHON_MODULE().
void wrap_circle | ( | ) |
Definition at line 46 of file circle.cpp.
References Geom::Circle::center(), Geom::Circle::fit(), Geom::Circle::radius(), and Geom::Circle::setCoefficients().
Referenced by BOOST_PYTHON_MODULE().
void wrap_conic | ( | ) |
Definition at line 106 of file conic.cpp.
References Geom::RatQuad::at0(), Geom::RatQuad::at1(), Geom::xAx::c, Geom::xAx::crossings(), Geom::xAx::extrema(), Geom::xAx::fromLine(), Geom::xAx::fromPoint(), Geom::xAx::fromPoints(), Geom::RatQuad::fromPointsTangents(), Geom::xAx::gradient(), Geom::RatQuad::hermite(), homo_eval_at(), Geom::RatQuad::homogeneous(), Geom::xAx::implicit_form_coefficients(), Geom::intersect(), Geom::xAx::isDegenerate(), Geom::RatQuad::lambda(), Geom::RatQuad::P, Geom::RatQuad::pointAt(), tuple_to_xAx(), Geom::xAx::valueAt(), Geom::RatQuad::w, wrap_rq_split(), wrap_rq_to_cubic(), wrap_rq_to_cubic_l(), wrap_rq_to_cubic_sb(), wrap_rq_to_cubic_sb_l(), wrap_xax_to_curve(), xax_roots1(), xax_roots2(), xAx_to_tuple(), and xy_eval_at().
Referenced by BOOST_PYTHON_MODULE().
void wrap_crossing | ( | ) |
Definition at line 41 of file crossing.cpp.
References Geom::Crossing::a, Geom::Crossing::b, Geom::Crossing::dir, Geom::Crossing::getOther(), Geom::Crossing::getOtherTime(), Geom::Crossing::getTime(), Geom::Crossing::onIx(), Geom::Crossing::ta, and Geom::Crossing::tb.
Referenced by BOOST_PYTHON_MODULE().
void wrap_d2 | ( | ) |
Definition at line 41 of file d2.cpp.
References Geom::portion(), python_getitem(), and Geom::reverse().
Referenced by BOOST_PYTHON_MODULE().
void wrap_ellipse | ( | ) |
Definition at line 53 of file ellipse.cpp.
References Geom::Ellipse::center(), ellipse_coefficients, ellipse_set1, ellipse_set2, Geom::Ellipse::fit(), Geom::Ellipse::ray(), Geom::Ellipse::rotationAngle(), and Geom::Ellipse::setCoefficients().
Referenced by BOOST_PYTHON_MODULE().
void wrap_etc | ( | ) |
Definition at line 42 of file etc.cpp.
Referenced by BOOST_PYTHON_MODULE().
void wrap_interval | ( | ) |
Definition at line 78 of file interval.cpp.
References Geom::GenericOptInterval< Coord >::empty(), Geom::GenericInterval< Coord >::expandBy(), Geom::GenericInterval< Coord >::expandTo(), Geom::GenericInterval< Coord >::extent(), Geom::Interval::from_array(), from_optinterval(), Geom::GenericInterval< Coord >::intersects(), interval_repr(), interval_to_tuple(), Geom::GenericInterval< Coord >::isSingular(), Geom::GenericInterval< Coord >::max(), Geom::GenericInterval< Coord >::middle(), Geom::GenericInterval< Coord >::min(), Geom::GenericInterval< Coord >::setMax(), Geom::GenericInterval< Coord >::setMin(), tuple_to_interval(), Geom::GenericInterval< Coord >::unionWith(), Geom::GenericOptInterval< Coord >::unionWith(), wrap_contains_coord(), wrap_contains_ivl(), wrap_interiorContains_coord(), and wrap_interiorContains_ivl().
Referenced by BOOST_PYTHON_MODULE().
void wrap_line | ( | ) |
Definition at line 50 of file line.cpp.
References coefficients_vec, Geom::Line::derivative(), Geom::Line::isDegenerate(), Geom::Line::nearestTime(), Geom::Line::normal(), Geom::Line::normalAndDist(), Geom::Line::pointAt(), Geom::Line::reverse(), Geom::Line::roots(), Geom::Line::setCoefficients(), Geom::Line::setPoints(), Geom::Line::transformed(), and Geom::Line::valueAt().
Referenced by BOOST_PYTHON_MODULE().
void wrap_linear | ( | ) |
Definition at line 57 of file linear.cpp.
References Geom::LinearOf< double >::at0(), Geom::LinearOf< double >::at1(), bezord_repr(), bezord_to_tuple(), Geom::bounds_exact(), Geom::bounds_fast(), Geom::bounds_local(), Geom::LinearOf< double >::isFinite(), Geom::LinearOf< double >::isZero(), Geom::lerp(), Geom::reverse(), Geom::LinearOf< double >::toSBasis(), tuple_to_bezord(), and Geom::LinearOf< double >::valueAt().
Referenced by BOOST_PYTHON_MODULE().
void wrap_parser | ( | ) |
Definition at line 57 of file parser.cpp.
References Geom::PathSink::arcTo(), Geom::PathSink::backspace(), Geom::PathSink::closePath(), Geom::PathSink::curveTo(), feed_path, feed_pathvector, Geom::PathSink::flush(), Geom::PathSink::lineTo(), Geom::PathSink::moveTo(), parse_svg_path_str, parse_svg_path_str_sink, Geom::PathSink::quadTo(), and Geom::read_svgd().
Referenced by BOOST_PYTHON_MODULE().
void wrap_path | ( | ) |
Definition at line 168 of file path.cpp.
References appendPortionTo_time, Geom::Path::boundsExact(), Geom::PathVector::boundsExact(), Geom::Path::boundsFast(), Geom::PathVector::boundsFast(), cairo_curve_to(), cairo_line_to(), cairo_move_to(), Geom::Path::clear(), Geom::Path::close(), Geom::Path::closed(), cp_1, cp_2, cps_1, cps_2, Geom::cubicbezierpath_from_sbasis(), Geom::Path::empty(), Geom::Path::erase_last(), Geom::Path::finalPoint(), Geom::Path::initialPoint(), Geom::path_from_piecewise(), Geom::path_from_sbasis(), path_getitem(), path_pointAt_time, path_valueAt_time, Geom::paths_to_pw(), py_cairo_convex_hull(), py_cairo_d2_pw_sb(), py_cairo_d2_sb(), py_cairo_pw_d2_sb(), Geom::PathVector::reverse(), Geom::Path::reversed(), Geom::PathVector::reversed(), Geom::Path::roots(), Geom::Path::start(), and Geom::Path::toPwSb().
Referenced by BOOST_PYTHON_MODULE().
void wrap_point | ( | ) |
Definition at line 66 of file point.cpp.
References Geom::abs(), Geom::angle_between(), Geom::atan2(), cross_point, Geom::distance(), Geom::distanceSq(), dot_point, Geom::is_unit_vector(), Geom::is_zero(), Geom::L1(), L2_point, lerp_point, Geom::LInfty(), near_point1(), near_point2(), point_repr(), point_to_tuple(), rot90_point, tuple_to_point(), and Geom::unit_vector().
Referenced by BOOST_PYTHON_MODULE().
void wrap_pw | ( | ) |
Definition at line 103 of file pw.cpp.
References abs_pwsb, arcLengthSb_pwd2sb, bounds_exact_pwsb, bounds_fast_pwsb, bounds_local_pwsb, compose_pwsb, compose_pwsb_sb, cos_pwsb, Geom::derivative(), divide_pwsb, getitem_pwsb(), init(), Geom::integral(), Geom::make_cuts_independent(), max_pwsb, min_pwsb, portion_pwd2sb, portion_pwsb, push_pwsb, push_seg_pwsb, pwd2sb_centroid(), reciprocal_pwsb, roots_pwsb, rot90_pwd2sb, signSb_pwsb, sin_pwsb, size, sqrt_pwsb, and unitVector_pwd2sb.
Referenced by BOOST_PYTHON_MODULE().
void wrap_ray | ( | ) |
Definition at line 57 of file ray.cpp.
References angle_between_ray, angle_between_ray_def(), are_near_ray, Geom::are_same(), distance_ray, Geom::Ray::isDegenerate(), Geom::make_angle_bisector_ray(), Geom::Ray::nearestTime(), Geom::Ray::pointAt(), Geom::Ray::reverse(), Geom::Ray::roots(), Geom::Ray::segment(), Geom::Ray::setPoints(), Geom::Ray::transformed(), and Geom::Ray::valueAt().
Referenced by BOOST_PYTHON_MODULE().
void wrap_rect | ( | ) |
Definition at line 72 of file rect.cpp.
References Geom::GenericRect< Coord >::area(), Geom::GenericRect< Coord >::bottom(), Geom::GenericRect< Coord >::corner(), Geom::GenericRect< Coord >::dimensions(), Geom::distance(), Geom::distanceSq(), Geom::GenericRect< Coord >::expandTo(), Geom::GenericRect< Coord >::height(), Geom::GenericRect< Coord >::left(), Geom::GenericRect< Coord >::max(), Geom::GenericRect< Coord >::maxExtent(), Geom::GenericRect< Coord >::midpoint(), Geom::GenericRect< Coord >::min(), Geom::GenericRect< Coord >::right(), Geom::GenericRect< Coord >::top(), Geom::union_list(), Geom::GenericRect< Coord >::width(), wrap_contains_coord(), wrap_contains_ivl(), wrap_expandBy(), wrap_expandBy_pt(), wrap_interiorContains_coord(), wrap_interiorContains_ivl(), wrap_intersects(), and wrap_unionWith().
Referenced by BOOST_PYTHON_MODULE().
void wrap_sbasis | ( | ) |
Definition at line 96 of file sbasis.cpp.
References Geom::SBasisOf< double >::at0(), Geom::SBasisOf< double >::at1(), Geom::compose(), derivative_sbasis, Geom::divide(), integral_sbasis, Geom::inverse(), Geom::SBasisOf< double >::isFinite(), Geom::SBasisOf< double >::isZero(), Geom::min(), multiply_sbasis, Geom::SBasisOf< double >::normalize(), Geom::reciprocal(), Geom::reverse(), Geom::roots(), sbasis_getitem(), sbasis_len(), sbasis_to_returned_bezier(), Geom::shift(), Geom::sqrt(), Geom::SBasisOf< double >::tailError(), Geom::SBasisOf< double >::toSBasis(), Geom::SBasisOf< double >::truncate(), truncate_sbasis, Geom::SBasisOf< double >::valueAt(), wrap_bounds_exact(), and wrap_bounds_local().
Referenced by BOOST_PYTHON_MODULE().
void wrap_transforms | ( | ) |
Definition at line 39 of file transforms.cpp.
References Geom::Affine::descrim(), Geom::Affine::descrim2(), Geom::Affine::det(), Geom::Affine::expansionX(), Geom::Affine::expansionY(), Geom::Rotate::from_degrees(), Geom::Affine::inverse(), Geom::Translate::inverse(), Geom::Scale::inverse(), Geom::Rotate::inverse(), Geom::Affine::isRotation(), Geom::Affine::isScale(), Geom::Affine::isTranslation(), Geom::Affine::isUniformScale(), Geom::Affine::setIdentity(), Geom::Affine::setTranslation(), Geom::Affine::setXAxis(), Geom::Affine::setYAxis(), Geom::Affine::translation(), Geom::Affine::xAxis(), and Geom::Affine::yAxis().
Referenced by BOOST_PYTHON_MODULE().