Uses of Class
org.stathissideris.ascii2image.graphics.ShapePoint
-
Packages that use ShapePoint Package Description org.stathissideris.ascii2image.graphics -
-
Uses of ShapePoint in org.stathissideris.ascii2image.graphics
Methods in org.stathissideris.ascii2image.graphics that return ShapePoint Modifier and Type Method Description ShapePoint
DiagramShape. getCellEdgePointBetween(ShapePoint pointInCell, ShapePoint otherPoint, Diagram diagram)
Finds the point that represents the intersection between the cell edge that contains pointInCell and the line connecting pointInCell and otherPoint.ShapePoint
DiagramShape. getCellEdgeProjectionPointBetween(ShapePoint pointInCell, ShapePoint otherPoint, Diagram diagram)
Returns C, if A is point in cell and B is otherPoint:ShapePoint
ShapeEdge. getEndPoint()
ShapePoint
ShapeEdge. getMiddle()
ShapePoint
DiagramShape. getPoint(int i)
ShapePoint
ShapeEdge. getStartPoint()
protected static ShapePoint
DiagramComponent. makePointForCell(TextGrid.Cell cell, TextGrid grid, int cellWidth, int cellHeight, boolean allRound)
Methods in org.stathissideris.ascii2image.graphics with parameters of type ShapePoint Modifier and Type Method Description void
DiagramShape. addToPoints(ShapePoint point)
void
ShapePoint. assign(ShapePoint point)
boolean
DiagramShape. contains(ShapePoint point)
ShapePoint
DiagramShape. getCellEdgePointBetween(ShapePoint pointInCell, ShapePoint otherPoint, Diagram diagram)
Finds the point that represents the intersection between the cell edge that contains pointInCell and the line connecting pointInCell and otherPoint.ShapePoint
DiagramShape. getCellEdgeProjectionPointBetween(ShapePoint pointInCell, ShapePoint otherPoint, Diagram diagram)
Returns C, if A is point in cell and B is otherPoint:TextGrid.Cell
Diagram. getCellFor(ShapePoint point)
boolean
ShapePoint. isEastOf(ShapePoint point)
boolean
ShapePoint. isInLineWith(ShapePoint point)
boolean
ShapePoint. isNorthOf(ShapePoint point)
boolean
DiagramShape. isPointLinesEnd(ShapePoint point)
boolean
ShapePoint. isSouthOf(ShapePoint point)
boolean
ShapePoint. isWestOf(ShapePoint point)
void
ShapePoint. moveTo(ShapePoint point)
Does the same as assign, but respects the locked attributevoid
ShapeEdge. setEndPoint(ShapePoint point)
void
DiagramShape. setPoint(int i, ShapePoint point)
void
ShapeEdge. setStartPoint(ShapePoint point)
Constructors in org.stathissideris.ascii2image.graphics with parameters of type ShapePoint Constructor Description ShapeEdge(ShapePoint start, ShapePoint end, DiagramShape owner)
ShapePoint(ShapePoint other)
-