Class Index

Classes


Namespace motigon.figure.Connection

Defines a figure connection.

Connection

Class Summary
 
Instantiates a new connection model.
Method Summary
void
addLine(line)
Adds a new line to this connection.
double
Gets the exit angle in degrees.
Figure
Gets the figure that this connection is bound to.
double
Gets the fractional horizontal position.
double
Gets the fractional vertical position.
Line[]
Gets the lines connected to this connection.
double
Gets the local horizontal position.
double
Gets the local vertical position.
void
removeLine(line)
Removes a line from this connection.
void
setExitAngle(angle)
Sets the exit angle in degrees.
void
setFigure(figure)
Sets the figure that this connection is bound to.
void
Sets the fractional horizontal position.
void
Sets the fractional vertical position.
void
Sets the local horizontal position.
void
Sets the local vertical position.
Class Detail
motigon.figure.Connection()
Instantiates a new connection model.
Method Detail
addLine(line)
Adds a new line to this connection.
Parameters:
{Line} line
the new line to add
Returns:
{void}

getExitAngle()
Gets the exit angle in degrees.
Returns:
{double}

getFigure()
Gets the figure that this connection is bound to.
Returns:
{Figure}

getFractionX()
Gets the fractional horizontal position.
Returns:
{double}

getFractionY()
Gets the fractional vertical position.
Returns:
{double}

getLines()
Gets the lines connected to this connection.
Returns:
{Line[]}

getLocalX()
Gets the local horizontal position.
Returns:
{double}

getLocalY()
Gets the local vertical position.
Returns:
{double}

removeLine(line)
Removes a line from this connection.
Parameters:
{Line} line
the line to remove
Returns:
{void}

setExitAngle(angle)
Sets the exit angle in degrees.
Parameters:
{double} angle
the new exit angle in degrees
Returns:
{void}

setFigure(figure)
Sets the figure that this connection is bound to.
Parameters:
{Figure} figure
the new figure that this connection is bound to
Returns:
{void}

setFractionX(x)
Sets the fractional horizontal position.
Parameters:
{double} x
the new fractional horizontal position
Returns:
{void}

setFractionY(y)
Sets the fractional vertical position.
Parameters:
{double} y
the new fractional vertical position
Returns:
{void}

setLocalX(x)
Sets the local horizontal position.
Parameters:
{double} x
the new local horizontal position
Returns:
{void}

setLocalY(y)
Sets the local vertical position.
Parameters:
{double} y
the new local vertical position
Returns:
{void}