Uses of Class
toxi.geom.Line2D
-
Uses of Line2D in toxi.geom
Modifier and TypeMethodDescriptionLine2D.copy()
Rect.getEdge
(int id) Returns one of the rectangles edges asLine2D
.Line2D.offsetAndGrowBy
(float offset, float scale, Vec2D ref) Line2D.scaleLength
(float scale) Ray2D.toLine2DWithPointAtDistance
(float dist) Converts the ray into a 2D Line segment with its start point coinciding with the ray origin and its other end point at the given distance along the ray.Modifier and TypeMethodDescriptionEllipse.getEdges()
LineStrip2D.getEdges()
Returns a list ofLine2D
segments representing the segments between the vertices of this strip.Polygon2D.getEdges()
Returns a list ofLine2D
segments representing the polygon edges.Rect.getEdges()
Shape2D.getEdges()
Returns a list of the shape's perimeter edges.Triangle2D.getEdges()
LineStrip2D.getSegments()
Modifier and TypeMethodDescriptionLine2D.intersectLine
(Line2D l) Computes intersection between this and the given line.LineStrip2D.intersectLine
(Line2D line) -
Uses of Line2D in toxi.processing
Modifier and TypeMethodDescriptionfinal void
final void
ToxiclibsSupport.line
(Line2D l, Line2DRenderModifier modifier)