| Package | Description |
|---|---|
| net.lecousin.framework.geometry |
Geometry utility classes.
|
| Modifier and Type | Method and Description |
|---|---|
Line2DInt |
Rectangle2DInt.getBottomLine()
Return the line if the bottom edge.
|
Line2DInt |
Rectangle2DInt.getLeftLine()
Return the line of the left edge.
|
Line2DInt |
Rectangle2DInt.getRightLine()
Return the line of the right edge.
|
Line2DInt |
Rectangle2DInt.getTopLine()
Return the line of the top edge.
|
| Modifier and Type | Method and Description |
|---|---|
Point2DInt |
Line2DInt.getAbsoluteIntersection(Line2DInt line)
return the intersection point of the lines considering the lines as infinite, or null if they are on the same alignement.
|
Point2DInt[] |
Rectangle2DInt.getIntersection(Line2DInt line)
return the intersection points between this rectangle and the given line: it may returns 0, 1 or 2 points.
|
Point2DInt |
Line2DInt.getIntersection(Line2DInt line)
return the intersection point between this line and the given one, or null if there is no intersection or they are the same.
|
boolean |
Line2DInt.isOn(Line2DInt line)
return true if this line is on the given line.
|
boolean |
Line2DInt.isOnAbsolute(Line2DInt line)
return true if this line is on the given line considering the two lines as infinite.
|
| Constructor and Description |
|---|
Line2DInt(Line2DInt copy)
Constructor.
|
Copyright © 2017. All rights reserved.