Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
line.h File Reference

Infinite straight line. More...

Go to the source code of this file.

Classes

class  Geom::Line
 Infinite line on a plane. More...
 

Namespaces

namespace  Geom
 Various utility functions.
 
namespace  Geom::detail
 

Functions

void Geom::filter_line_segment_intersections (std::vector< ShapeIntersection > &xs, bool a=false, bool b=true)
 Removes intersections outside of the unit interval.
 
void Geom::filter_ray_intersections (std::vector< ShapeIntersection > &xs, bool a=false, bool b=true)
 
bool Geom::are_near (Point const &p, Line const &line, double eps=EPSILON)
 
bool Geom::are_parallel (Line const &l1, Line const &l2, double eps=EPSILON)
 
double Geom::angle_between (Line const &l1, Line const &l2)
 
double Geom::distance (Point const &p, LineSegment const &seg)
 
bool Geom::are_near (Point const &p, LineSegment const &seg, double eps=EPSILON)
 
Line Geom::make_orthogonal_line (Point const &p, Line const &line)
 
Line Geom::make_parallel_line (Point const &p, Line const &line)
 
Line Geom::make_bisector_line (LineSegment const &_segment)
 
Line Geom::make_angle_bisector_line (Point const &A, Point const &O, Point const &B)
 
Point Geom::projection (Point const &p, Line const &line)
 
LineSegment Geom::projection (LineSegment const &seg, Line const &line)
 
std::optional< LineSegmentGeom::clip (Line const &l, Rect const &r)
 
OptCrossing Geom::detail::intersection_impl (Ray const &r1, Line const &l2, unsigned int i)
 
OptCrossing Geom::detail::intersection_impl (LineSegment const &ls1, Line const &l2, unsigned int i)
 
OptCrossing Geom::detail::intersection_impl (LineSegment const &ls1, Ray const &r2, unsigned int i)
 
OptCrossing Geom::intersection (Ray const &r1, Line const &l2)
 
OptCrossing Geom::intersection (Line const &l1, Ray const &r2)
 
OptCrossing Geom::intersection (LineSegment const &ls1, Line const &l2)
 
OptCrossing Geom::intersection (Line const &l1, LineSegment const &ls2)
 
OptCrossing Geom::intersection (LineSegment const &ls1, Ray const &r2)
 
OptCrossing Geom::intersection (Ray const &r1, LineSegment const &ls2)
 
OptCrossing Geom::intersection (Line const &l1, Line const &l2)
 
OptCrossing Geom::intersection (Ray const &r1, Ray const &r2)
 
OptCrossing Geom::intersection (LineSegment const &ls1, LineSegment const &ls2)
 

Detailed Description

Infinite straight line.

Definition in file line.h.