BookmarkSubscribeRSS Feed

The polygon Package

Started ‎04-12-2016 by
Modified ‎04-04-2022 by
Views 2,699

SAS/IML 14.1 enables you to author, install, and call packages. A package consists of SAS/IML source code, documentation, data sets, and sample programs.See the SAS/IML User's Guide for information about packages.

 

The attached file implements the polygon package. The polygon package implements various functions for computational geometry on polygons.

 

A polygon is represented as an n x 2 matrix, where the rows represent adjacent vertices for the polygon. The polygon should be "open," which means that the last row does not equal the first row.

 

Multiple polygons are represented by an n x 3 matrix. The third column is an ID variable, and the unique values of the column identify different polygons.

 

For a list of the functions and their syntax, see the help directory in the ZIP file. 

 

The polygon package accompanies the article

Wicklin, Rick (2016), "Writing Packages: A new way to Distribute and Use SAS/IML Programs", Proceedings of the SAS Global Forum 2016 Conference.

Version history
Last update:
‎04-04-2022 03:10 PM
Updated by:

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

SAS AI and Machine Learning Courses

The rapid growth of AI technologies is driving an AI skills gap and demand for AI talent. Ready to grow your AI literacy? SAS offers free ways to get started for beginners, business leaders, and analytics professionals of all skill levels. Your future self will thank you.

Get started

Article Labels
Article Tags