Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
snapped-line.cpp File Reference

SnappedLine class. More...

Go to the source code of this file.

Functions

bool getClosestSLS (std::list< Inkscape::SnappedLineSegment > const &list, Inkscape::SnappedLineSegment &result)
 
bool getClosestIntersectionSLS (std::list< Inkscape::SnappedLineSegment > const &list, Inkscape::SnappedPoint &result)
 
bool getClosestSL (std::list< Inkscape::SnappedLine > const &list, Inkscape::SnappedLine &result)
 
bool getClosestIntersectionSL (std::list< Inkscape::SnappedLine > const &list, Inkscape::SnappedPoint &result)
 
bool getClosestIntersectionSL (std::list< Inkscape::SnappedLine > const &list1, std::list< Inkscape::SnappedLine > const &list2, Inkscape::SnappedPoint &result)
 

Detailed Description

SnappedLine class.

Authors: Diederik van Lierop mail@.nosp@m.died.nosp@m.enrez.nosp@m.i.nl

Released under GNU GPL v2+, read the file 'COPYING' for more information.

Definition in file snapped-line.cpp.

Function Documentation

◆ getClosestIntersectionSL() [1/2]

◆ getClosestIntersectionSL() [2/2]

bool getClosestIntersectionSL ( std::list< Inkscape::SnappedLine > const &  list1,
std::list< Inkscape::SnappedLine > const &  list2,
Inkscape::SnappedPoint result 
)

◆ getClosestIntersectionSLS()

◆ getClosestSL()

bool getClosestSL ( std::list< Inkscape::SnappedLine > const &  list,
Inkscape::SnappedLine result 
)

Definition at line 212 of file snapped-line.cpp.

References result.

Referenced by SnapManager::findBestSnap().

◆ getClosestSLS()

bool getClosestSLS ( std::list< Inkscape::SnappedLineSegment > const &  list,
Inkscape::SnappedLineSegment result 
)

Definition at line 167 of file snapped-line.cpp.

References result.