why won't this compile; on Collection line? (math.geom2d, not matlab)

1 Ansicht (letzte 30 Tage)
Ralph Trimnell
Ralph Trimnell am 6 Jun. 2014
Bearbeitet: Image Analyst am 6 Jun. 2014
// Create and draw a circle
Circle2D circle1 = new Circle2D(80, 120, 40);
circle1.draw(g2);
// Create and draw a circle
Circle2D circle2 = new Circle2D(100, 120, 40);
circle2.draw(g2);
Collection<Point2D> intersects = circlesIntersections( circle1,circle2);
for (Point2D points:intersects)
point.draw(g2,2,g2,2);

Antworten (0)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by