Back to index

moin  1.9.0~rc2
Public Member Functions | Protected Member Functions | Static Private Attributes
CH.ifa.draw.figures.ChopEllipseConnector Class Reference

A ChopEllipseConnector locates a connection point by chopping the connection at the ellipse defined by the figure's display box. More...

List of all members.

Public Member Functions

 ChopEllipseConnector ()
 ChopEllipseConnector (Figure owner)

Protected Member Functions

Point chop (Figure target, Point from)

Static Private Attributes

static final long serialVersionUID = -3165091511154766610L

Detailed Description

A ChopEllipseConnector locates a connection point by chopping the connection at the ellipse defined by the figure's display box.

Definition at line 18 of file ChopEllipseConnector.java.


Constructor & Destructor Documentation

Definition at line 25 of file ChopEllipseConnector.java.

                                  {
    }

Definition at line 28 of file ChopEllipseConnector.java.

                                              {
        super(owner);
    }

Member Function Documentation

Point CH.ifa.draw.figures.ChopEllipseConnector.chop ( Figure  target,
Point  from 
) [inline, protected]

Definition at line 32 of file ChopEllipseConnector.java.

                                                    {
        Rectangle r = target.displayBox();
        double angle = Geom.pointToAngle(r, from);
           return Geom.ovalAngleToPoint(r, angle);
    }

Here is the call graph for this function:


Member Data Documentation

final long CH.ifa.draw.figures.ChopEllipseConnector.serialVersionUID = -3165091511154766610L [static, private]

Definition at line 23 of file ChopEllipseConnector.java.


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