₦airaland Forum

Welcome, Guest: Register • Login • With Google • Trending • Recent • New

Stats: 3,344,215 members, 8,510,694 topics. Date: Friday, 30 October 2026 at 09:07 PM

Toggle theme

Write Code To Implement Polygon In Java - Programming - Nairaland

Nairaland Forum › Science/Technology › Programming › Write Code To Implement Polygon In Java (1573 Views)

1 Reply

Write Code To Implement Polygon In Java by farouqzaib(op): 12:18am On Nov 22, 2011
Hello guys! So I started studying DS and Algos from where I left off, I kinda got stuck on a problem. Please I need someone to explain in plain "ENGLISH" what the author meant by the statements below. I suck at maths so please forgive my ignorance if any.

Q1. A polygon is a piecewise linear non-self-intersecting closed curve. We
consider modeling a polygon by its set of vertices (2D points stored in
an array) with a linked list of vertex indices (integers). Write a class
Polygon with a constructor that takes as its argument an array of 2D
points describing the cyclic sequence of vertices. The linked list shall be
bidirectional using the prev and succ fields.


Any help will be highly appreciated!
1 Reply

How To Implement Licensing For Vb.net Application • Vb.net Code To Display Image In Picturebox From Sql Server • Help me convert this Vb6.0 code To Vb.net • 2 • 3 • 4

SQL Table Normalization • C++ Programmer Is Needed • Subject Removed*