RPGNext
Take Your RPG Development to theNextLevel
Site Links
Home
RPG Programming
xRPG Downloads
xRPG Docs
About This Site
About Me

RPG Gurus
Bob Cozzi
Brad Stone
Scott Klement
Jon Paris

iSeries Links
Alpha Works
Midrange.com
FAQ@Midrange.com
MidrangeServer.com
IBM Docs
iSeries Infocenter
MCPress
Easy400
API Finder

xRPG Core Library Procedures - RNBMATH: addPolygonPoint()


Add a point to the Polygon.

The polygon exists as a collection of Points. This procedure is used to add points to the polygon. The points should be added in either a clockwise or counter clockwise manner, especially for the perimeter function to work properly.

Usage:

addPolygonPoint( xCoordinate : yCoordinate );

Name Type Options Opt/Req Description
xCoordinate 10, 4 Const Req The X Coordinate of the point.
yCoordinate 10, 4 Const Req The Y Coordinate of the point.
Returns: 5i 0 n/a n/a The number of Points in the Polygon after the add operation.

This site conforms with the following W3C specifications:

Web Essentials

Contact