메소드 | 설명 | |
---|---|---|
MouseMove ( GraphicView activeView, System e ) : bool |
Method to perform calculations based on the user interaction by moving the mouse
|
|
Paint ( Device device, GraphicView activeView, System e ) : void |
This method paints all the gadgets added by the Snaps (i.e.
|
|
Reset ( GraphicView activeView ) : void | ||
ResetStatus ( GraphicView activeView ) : void | ||
SnapController ( ) : System |
메소드 | 설명 | |
---|---|---|
addPerpendicularMagnet ( |
Method to add a perpendicular point magnet if the mouse is close to where it is
|
|
createInterestingDistance ( |
Gets an interesting point by following the line in reverse (as a mirror) and trying to find Joints at the same distance from the LineMagnet's position
|
|
createIntersection ( |
Calculate the intersection point of two coplanar lines Source: http://local.wasp.uwa.edu.au/~pbourke/geometry/lineline3d/
|
|
createMidPoint ( |
Method to try to create a midpoint magnet if the mouse is close to one
|
|
createPerpendicularMagnet ( |
Returns a perpendicular point magnet P if there's a point X and a line L which can be united by a perpendicular line: L | | X - - - - - - - - P | |
|
|
pickItems ( System e ) : void | ||
recalcPrimaryDependant ( GraphicView activeView ) : void |
public MouseMove ( GraphicView activeView, System e ) : bool | ||
activeView | GraphicView | |
e | System | The Mouse event args |
리턴 | bool |
public Paint ( Device device, GraphicView activeView, System e ) : void | ||
device | Device | |
activeView | GraphicView | |
e | System | |
리턴 | void |
public ResetStatus ( GraphicView activeView ) : void | ||
activeView | GraphicView | |
리턴 | void |