Inkscape
Vector Graphics Editor
|
#include <snapper.h>
Public Member Functions | |
SnapConstraint (Geom::Point const &d) | |
SnapConstraint (Geom::Point const &p, Geom::Point const &d) | |
SnapConstraint (Geom::Point const &p, Geom::Dim2 const &d) | |
SnapConstraint (Geom::Line const &l) | |
SnapConstraint (Geom::Point const &p, Geom::Point const &d, Geom::Coord const &r) | |
SnapConstraint () | |
bool | hasPoint () const |
Geom::Point | getPoint () const |
Geom::Point | getDirection () const |
Geom::Coord | getRadius () const |
bool | isCircular () const |
bool | isLinear () const |
bool | isDirection () const |
bool | isUndefined () const |
Geom::Point | projection (Geom::Point const &p) const |
Private Types | |
enum | SnapConstraintType { LINE , DIRECTION , CIRCLE , UNDEFINED } |
Private Attributes | |
Geom::Point | _point |
Geom::Point | _direction |
Geom::Coord | _radius |
SnapConstraintType | _type |
|
inline |
|
inline |
|
inline |
Definition at line 81 of file snapper.h.
References _direction.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 95 of file snapper.h.
References _direction.
Referenced by KnotHolderEntity::snap_knot_position_constrained().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 109 of file snapper.h.
References _direction, _point, _radius, _type, CIRCLE, Geom::L2(), LINE, Geom::projection(), and UNDEFINED.
Referenced by SnapManager::constrainedSnap(), and SnapManager::multipleConstrainedSnaps().
|
private |
Definition at line 133 of file snapper.h.
Referenced by getDirection(), projection(), and SnapConstraint().
|
private |
Definition at line 132 of file snapper.h.
Referenced by getPoint(), and projection().
|
private |
Definition at line 134 of file snapper.h.
Referenced by getRadius(), and projection().
|
private |
Definition at line 135 of file snapper.h.
Referenced by getPoint(), getRadius(), hasPoint(), isCircular(), isDirection(), isLinear(), isUndefined(), and projection().