Home > By category > Scripts >Development Tools > inside triangle



inside triangle

  • Downloads: 
  • Views: 
  • Rating:

%inside_triangle is used to check if a point P is inside
%the triangle P1P2P3 or not.
%
%Inputs: P, P1, P2 and P3 are vectors of length 2 or three of the
% form [x y z] or [x y]
%
%Output: True
%True=1 => P is on or inside P1P2P3
%True=0 => P is outside P1P2P3
%
%Example:
%True=inside_triangle([0.5 0.5],[0 0],[0 2],[2 0]);
%
%The following algorithm is implemented
% If P is ON or INSIDE the triangle
%
% Area(PP1P2) + Area(PP2P3) + Area(PP3P1) = Area(P1P2P3)
%
% If P is OUTSIDE then,
%
% Area(PP1P2) + Area(PP2P3) + Area(PP3P1) > Area(P1P2P3)
%
% Area of a triangle can be found using the determinant:
%
% Area = abs(1/2 * |x1 y1 1| )
% |x2 y2 1|
% |x3 y3 1|
%

Free download from Shareware Connection - %inside_triangle is used to check if a point P is inside %the triangle P1P2P3 or not.

Publisher: Nassim Khaled | License: Shareware
Version: 1.0 | Size: 10 KB | Platform: Matlab, Scripts
Released Date: 26-06-2013 | Rating: 0 | Title: inside triangle

Author Url: http://www.mathworks.com
Program Info Url: http://www.mathworks.com
Download Url: http://www.mathworks.com/matlabcentral/fx_files/22690/1/inside_triangle.zip

More downloads from inside triangle publisher Nassim Khaled:

General Purpose Controller - This is a general purpose controller that I have built using the Fuzzy Logic Rules

simulink introduction video - This is a video recording of an introduction crash course for Simulink.

Sugeno-Takagi-like fuzzy controller - I have built the rules in simulink and not using the fuzzy logic toolbox

crank-slider mechanism - This m-script shows a simple simulation for the crank-slider mechanism of the piston.

saturation function - This file contains a funtion (mfile) and a simulink block.

inside triangle keywords:
inside triangle related downloads:

W7 - The code has W7 algorithm implemented check it out for details

Vectorized FIND with 'FIRST' option - Up to now, to find the first non-zero element of a matrix along a column (for example)

Lose Fat and Build Abs - There are a lot of myths about how to best go about getting the abs and body of a star. It's pretty hard to sift through all of the misleading information that is being pumped out day after day on the packages of miracle fat burning products and ...

Fingerprint matching algorithm using shape context and orientation descriptors - This is a fingerprint matching code based on the fingerprint

Fractal generation m-script suite - Based on simple contraction/expansion rules

Shareware Connection periodically updates pricing and software information of 'inside triangle' from company source 'Nassim Khaled' , so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft,  Using 'inside triangle' crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of inside triangle.

New Reviews

Safe In Cloud - It is quite difficult to find any computer users nowadays who do not need to use the web, for any purpose. Whether it is for education or entertainment, the web is your best resource. You also need to use various online services for banking, ...

TuckAway Intelligent Email Organizer Pro - Using an email software allow you to do a number of things including managing your address lists, emails and even ending memos, documents and even virtual letters. You can also use it to manage your tasks easily. The email software comes in ...

Adobe SpeedGrade - Adobe has been a long time player in video editing and post production sector, with apps like Premier Pro and AfterEffects winning accolades and keeping customers hooked for several years. To cater to a niche section of the target users, it has ...

Autodesk Smoke - Autodesk is the company well known for making some of the most feature rich and versatile tools for 3D modeling, animation and engineering design related work. Its Smoke is a Mac OS specific app that is aimed at professionals involved in ...

Freemake Video Converter - Video conversion can become a necessity for average PC users who find it increasingly hard to manage an ever growing collection of media and video files. The DVDs, videos obtained from web and clips shot with mobile devices keep growing. Over ...

Comodo Unite - There are many ways to bypass the restrictions imposed on users by governments and ISPs for accessing specific websites and online services. One of them is using a capable VPN application. A VPN app basically lets you camouflage the real IP ...

Soft4Boost Slideshow Studio - Nowadays you can record video using a number of devices including smart phones and tablets. However, some people still prefer using still images and music to create slideshows. Slideshows can be created for preserving fond memories digitally with ...

Screenpresso Pro - Capturing screenshots and webcam streams can become a necessity at times for PC users. There was a time most users resorted to Windows bundled print screen utility but now there are so many choices to pick from. If you want a feature rich and ...

Autodesk MotionBuilder 2015 - 3D animators and post production setups need to use Motion capturing technology extensively for making stunning films, ads and tutorials etc. Over the years, both software and hardware technology used in this segment have evolved by leaps and ...

Tiranium Premium Security 2014 - Antivirus or Internet security software has become a mandatory requirement for computer users, including casual users and network administrators. However, it is quite commonplace for average PC users to get a little confused when selecting a ...




New Downloads

B2B E-Commerce Software -
TradeMart v1.0

NCrypted - Trading Software of
Alibaba Clone Script is a
superb answer for dispatch
your own business to business
site.

Cool iPhone Ringtone Maker

Cool iPhone Ringtone Maker
lets you create your own
ringtones from the mp3, wav,
ogg, aac, m4a, ra, wma music
files in ...

Joomla! Authentication
Tools (usersources)

Joomla! Authentication Tools
provides a host and interface
for extending authentication
options for Joomla!

Linear Mixed Integer
Program Solver

Solves the mixed integer
linear problem

Minimum Description Length

Returns Rissanen's Minimum
Description Length.

Finite Volume Poisson
Solver

C-Library & Matlab Toolbox
implement a numerical solution
of Poisson equation

Model Replay

These MATLAB files serve as a
graphical user interface for
using the APMonitor moving
horizon estimation (MHE)
feature

GNU Nana

GNU Nana is a free library
providing improved support for
assertion checking (as in
assert.h) and logging (printf
style ...

exlerve

A package to transfer numeric
matrices from and to excel
worksheets using activex
server link

Process Bounced Messages
for Email System Utilities

Process Bounced Messages
enables your .Net application
to parse, analyze and
categorize bounced email
messages.

cofactors

When a user enters an n x n
matrix eg

Eddyspeak

Eddyspeak is an original
translation content management
system.