Logo Search packages:      
Sourcecode: inkscape version File versions  Download package

Inkscape::SnappedLine Class Reference

#include <snapped-line.h>

Inheritance diagram for Inkscape::SnappedLine:


List of all members.

Detailed Description

Class describing the result of an attempt to snap to a line.

Definition at line 40 of file snapped-line.h.

Public Member Functions

bool getAlwaysSnap () const
bool getAtIntersection () const
NR::Coord getConstTerm () const
NR::Coord getDistance () const
NR::Point getNormal () const
NR::Point getPoint () const
NR::Point getPointOnLine () const
bool getSecondAlwaysSnap () const
NR::Coord getSecondDistance () const
NR::Coord getSecondTolerance () const
NR::Coord getTolerance () const
Inkscape::SnappedPoint intersect (SnappedLine const &line) const
 SnappedLine (NR::Point snapped_point, NR::Coord snapped_distance, NR::Coord snapped_tolerance, bool always_snap, NR::Point normal_to_line, NR::Point point_on_line)

Protected Attributes

bool _always_snap
bool _at_intersection
NR::Coord _distance
NR::Point _point
bool _second_always_snap
NR::Coord _second_distance
NR::Coord _second_tolerance
NR::Coord _tolerance

Private Attributes

NR::Point _normal_to_line
NR::Point _point_on_line

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index