Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

README.md

Octave-geometry

Union of two polygons implemented using Clipper Polygon library.

Clone and unzip the repository. polyUnion.oct file has been made already.

To make oct file on your own :
Run the following command in the respective dirtectory :
mkoctfile clipper.cpp polyUnion.cc -o polyUnion

Input format :

Input is taken in the form of cells.
First cell represents the set of x coordinates of each of the subject polygons.
Second cell represents the set of y coordinates of each of the subject polygons.

Take a test input in octave, for e.g. x = {[0 100 100 0],[50 150 150 50]} , y = {[0 0 100 100],[0 0 100 100]}
Call function : polyUnion(x,y)

Function will return the vertices of Union of the two subject polygons.

About

No description, website, or topics provided.

Resources

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.