Uses of Class
toxi.geom.Line2D
Packages that use 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 ofLine2Dsegments representing the segments between the vertices of this strip.Polygon2D.getEdges()Returns a list ofLine2Dsegments 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
Methods in toxi.processing with parameters of type Line2DModifier and TypeMethodDescriptionfinal voidfinal voidToxiclibsSupport.line(Line2D l, Line2DRenderModifier modifier) Method parameters in toxi.processing with type arguments of type Line2D