Package com.j3d.gen.grid
Class Line
java.lang.Object
com.j3d.gen.grid.Line
- All Implemented Interfaces:
GridObject<GLine>
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) CartesianPoint(package private) CartesianPoint -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddraw(Graphics2D graphics2D, ConversionWithOffset props) static voiddrawLine(Supplier<Color> col, Supplier<CartesianPoint> p1, Supplier<CartesianPoint> p2, Graphics2D g, ConversionWithOffset c) voiddrawWorld(Graphics2D graphics2D, AxisPlane axisPlane) getP1()getP2()static booleanintersects(Line l1, Line l2) private static booleanprivate static int
-
Field Details
-
p1
-
p2
-
-
Constructor Details
-
Line
-
-
Method Details
-
orientation
-
intersects
-
onSegment
-
getP1
-
getP2
-
draw
- Specified by:
drawin interfaceGridObject<GLine>
-
drawWorld
- Specified by:
drawWorldin interfaceGridObject<GLine>
-
drawLine
public static void drawLine(Supplier<Color> col, Supplier<CartesianPoint> p1, Supplier<CartesianPoint> p2, Graphics2D g, ConversionWithOffset c) -
render
- Specified by:
renderin interfaceGridObject<GLine>
-