Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.627.496 Times

cutpolygon 1.0

  Date Added: April 14, 2013  |  Visits: 161

cutpolygon

Report Broken Link
Printer Friendly Version


Product Homepage
Download (20 downloads)



CUTPOLYGON - Split a 2D polygon by a line, and remove one of the sidesUse CUTPOLYGON to cut alias intersect alias split alias slice a polygon P(being a series of connected X,Y coordinates) with a line L (defined bytwo points), removing a specified side s. L can serve as a bottom limit('B'), top limit ('T'), left limit ('L'), or right limit ('R').Syntax: Pc = CUTPOLYGON(P, L, s, doSplit, doPlot, doTable)Demo (cut random regular polygon with random line): CUTPOLYGON demoInputs: P Polygon coordinates [X, Y] L Line defined by two coordinates [x1, y1; x2, y2] s What side to remove, character or integerOptional switches: doSplit Add intermediate NaN entries if the polygon is split into non-connected parts (default false) doPlot Plot original and cut polygon plus line (default false) doTable Tabulate intersection and validity per polygon segment (default false)Side options: 1 / B = bottom remove parts Y < intersection 2 / T = top remove parts Y > intersection 3 / L = left remove parts X < intersection 4 / R = right remove parts X > intersectionFinding the intersection: http://en.wikipedia.org/wiki/Line-line_intersectionOutput: - Pc is the polygon post-cut [X, Y] - Pc can be shorter than P (points are removed) - Pc can contain intermediate NaN entries if doSplit is trueVersion history (recent to ancient): Jan 2010, Dominik Brands, fixed pure horizontal/vertical limit bug Apr 2009, Jasper Menger , creation

Requirements: No special requirements
Platforms: Matlab
Keyword: Default False Intersection Optional Options Original Parts Segment Tabulate Validity
Users rating: 0/10

License: Shareware Size: 10 KB
USER REVIEWS
More Reviews or Write Review


CUTPOLYGON RELATED
Development Tools  -  Freeman Chain Code 1.0
usage:-------------------------------------------------------- [cc] = chaincode(b,u) INPUT:-------------------------------------------------------- b - boundary as np-by-2 array unwrap - (optional, default=false) unwrap code OUTPUT:...
10 KB  
Development Tools  -  Fast Line Segment Intersection (Sripts) 1.0
OUT = LINESEGMENTINTERSECT(XY1,XY2) generates intersection analysis between the line segment sets given in XY1 and XY2. Code can handle coincident and parallel lines.The main emphasis is on speed. The code is fully vectorized and it runs pretty...
10 KB  
Network & Internet  -  TracMasterTickets 3.0.1
Adds basic ticket dependencies for Trac. Note: MasterTickets 3.0 requires Trac 0.12 or higher. What is it? ----------- This plugin adds "blocks" and "blocked by" fields to each ticket, enabling you to express...
30.72 KB  
Utilities  -  tvrenamr 3.2.1
TV Renamr is a utility to rename TV shows based upon filenames or user input. Installation Python Package Index Make sure you have the python setuptools package installed for your version of python (check with python...
10.24 KB  
Networking  -  Index Authors page 1.0
With this plugin, you will be able to display an index with all your authorss, sort alphabeticaly. The shortcode is [authorsindex].Options are: *ul => the class of you ul element (default = iapAlpha) *li => the class of you li element (default =...
10 KB  
Development Tools  -  findFileSeries 1.0
function [returnFileGroup] = findFileSeries(filePath, allowskiplength, inclSmallerNumbers)% input is the filepath of one file in a series of files that have% some numeric indexing in their filenames% allowskiplength allows skipping of numbers in...
10 KB  
Development Tools  -  Euklid (Inverse) Distance Weight Matrix 1.0
function W = euklid_W(ws,d,n)function W = euklid_invW(ws,d,n) PURPOSE: create an (inverse) euklidean distance spatial weight matrix (n x m 'moving-window' style matrix with distance to center cell weighted.)...
10 KB  
Development Tools  -  Recode Categorical Variable into New Binary Variables 1.0
Adds N-1 binary (effect or dummy coded) variables based on a categorical variable to your dataset.% OUTPUT%Returns your dataset with N-1 binary variables recoded from a%categorical var that has N categories.%The Nth category isn't included as a...
10 KB  
Networking  -  Tweet This 1.8.1
Adds a "Tweet This Post" link to every post, shortens URLs, and can automatically tweet posts using OAuth. Includes the Wickett Twitter Widget. Allows you to post and schedule tweets from a new "Write Tweet" page under the "Posts" menu. Includes...
10 KB  
Modules  -  JsintaxHighlighter 1.0
This plugin extends the original project Syntax Highlighter of Alex GorbatchevTo insert code highlighter in your page, simply include che code in {CODE type:*type*;} and {/CODE}, replacing *type* with used languages.Are supported the following...
81.92 KB  
NEW DOWNLOADS IN SCRIPTS, MULTIMEDIA
Scripts  -  Freelancer Script 5.05
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Post projects. Featured projects. Private projects. Sealed projects. Edit/delete projects. Select freelancers....
5.49 MB  
Scripts  -  B2B Script 4.20
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Sign-up Account (Registration of account). Lead generation tools (for the sellers). Email verification to...
5.49 MB  
Scripts  -  B2C Script 5.06
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). The script comes with totally editable site colors, icons and graphics Multilevel categories allows extensive browsing Admin can change Category ordering or...
5.49 MB  
Scripts  -  Social Networking Script 2.86
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Registration with name, email, password, date of birth etc. User can add multiple school, college, university with start...
5.49 MB  
Scripts  -  Business Networking Script 8.04
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Ajax based interface. Profile creation. Different types of profile. Profile for jobseekers, employers and employed...
5.49 MB  
Multimedia  -  RMCA Realtime MIDI Chord Arranger Pro 4.2.7.11
RMCA Pro is an auto-accompaniment software which offers all major features of a high quality MIDI keyboard. It comes with chord recognition, based auto arranger, style creator, LeadSheet editor, recording section, up to 16 fingered and 10...
1.52 MB  
Multimedia  -  Spectrum Analyzer pro 2015
This sophisticated piece of software turns your computer into a modern, State-of-The-Art spectrum analyzer giving you features that go far beyond the possibilities of any stand-alone hardware unit -VST Plugin support-Leq (m) movie calculator Leq...
22.61 MB  
Multimedia  -  Multi Level Meter Bridge 2015
PAS Multi Meter Bridge can be configured in a number of different ways, to accurately model the ballistics, responses and graphics of a wide range of standard peak programme meters. These meters currently include the following:IEC 268-10 Type I...
5.22 MB  
Multimedia  -  DTMF Tone Decoder 2015
Why use an audio spectrum analyzer? For those of you that have done video installations, would you install a camera and lens without a monitor to see what you are doing? Why would you do an audio installation without seeing what you are doing? The...
4.09 MB  
Multimedia  -  Frequency Generator 2014
NEW in this version Oscilloscope srcoller and accelerator Efects like Peak and Splitt Oscilloscope kinds like Con. Lines, Dots, Mir Lines, Spikes, Vert. Lines Analyse the real time input in the Oscilloscope Now you can record the generated Tones...
2.01 MB