₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,325,212 members, 8,420,833 topics. Date: Friday, 05 June 2026 at 12:11 PM

Toggle theme

Write Code To Implement Polygon In Java - Programming - Nairaland

Nairaland ForumScience/TechnologyProgrammingWrite Code To Implement Polygon In Java (1544 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 ApplicationVb.net Code To Display Image In Picturebox From Sql ServerHelp me convert this Vb6.0 code To Vb.net234

Mobile Web Application, Beginners Guide.How To Go For Building An Android App For A Wordpress Blog?Buy A Top Level .com Domain Name, Ssl Support And Host For N5,000 (per Year)