Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
Magento Australia Post eParcel Extension 1.0
Airbnb Script - Airbnb Clone 1.0.3
Hotel Restaurant Reviews and Feedback Script 1.0.3
Documenter for MySQL 1.0
ODBC Driver for xBase 1.1
ODBC Driver for FreshBooks 2.0
AnyGantt JS Gantt Charts 8.4.2
The C# Barcode Library 4.0.2.2
ConyEdit for Windows 1.1.0
wolfSSL 3.15.5
Taxi Booking App Like Uber 1.0
IP2Location Geolocation Database 2018
Food Delivery Script 1.0.3
ODBC Driver for Magento 1.3
dbForge Studio for SQL Server 5.6
Top Code
Java-2-Pseudo 1.0
Tron 3 for Microsoft Windows 3.0
MCU 8051 IDE 1.4.7
symwire 1.0
Oracle Dump Viewer 1.0.1
Convert Arabic to Roman 1.0
Free Pageant Contest Source Code 1.0
Fixed Point Radix-4 FFT 1.0
A 32 point FFT in embedded MATLAB using fixed point arithmetic 1.0
Leica image format file loader 1.0
Validation (Time) 1.1
Ajax Live Chat 0.2
Watchdog Live 6.x-1.0
Porting Manager 1.0
ClonalG selection immune algorithm 1.0
Top Rated
Deals and Discounts Website Script 1.0.2
ADO.NET Provider for ExactTarget 1.0
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Availability Booking Calendar PHP 1.0
PHP GZ Blog Script 1.1
ATN Jobs Software 4.0
ATN Mall 2.0
WeBuilder 2015 13.3
PHP Digital Download Script 1.0.4
Distance between a point and a triangle in 3D 1.0
File ID: 86875






Distance between a point and a triangle in 3D 1.0
Download Distance between a point and a triangle in 3D 1.0http://www.mathworks.comReport Error Link
License: Shareware
File Size: 10.0 KB
Downloads: 11
Submit Rating:
Distance between a point and a triangle in 3D 1.0 Description
Description: Calculate the distance of a given point P from a triangle TRI.
Point P is a row vector of the form 1x3. The triangle is a matrix
formed by three rows of points TRI = [P1;P2;P3] each of size 1x3.
dist = pointTriangleDistance(TRI,P) returns the distance of the point P to the triangle TRI.
[dist,PP0] = pointTriangleDistance(TRI,P) additionally returns the closest point PP0 to P on the triangle TRI.

License: Shareware

Related: pointtriangledistancetrip, p1p2p3, points, returns, distpp, closest, additionally, formed, Point

O/S:BSD, Linux, Solaris, Mac OS X

File Size: 10.0 KB

Downloads: 11



More Similar Code

Calculate the distance from a point to 2-D polygon, and the point on the polygon closest to the point.

This is based on the function made by Michael Yoshpe. Also include the test suggested by Eric Schmitz.



The solution to the problem of calculating the distance between an ellipse and a point is less than straightforward. The problem can be solved analytically however, which boild down to solving a quartic equation in cos(f), with (f) the true...



1) plotPlanes.m
- plots planes and lines in 3D defined either by directional vectors or by normal vectors.

Example:
A = [1 1 0;0 0 1]; Ashift = [1 1 1];
B = [1 1 1]; C = [1 1 0]



D = DISTMAT(X,Y) for matrices X and Y returns the distance matrix where the (i,j)th entry is the d-norm distance between the ith and jth row of X and Y respectively.

DISTMAT(X,Y,d) computes a specific d-norm distance. Default=2



The Mahalanobis distance between a pattern measurement vector of dimensionality D and the center of the class it belongs to is distributed as a chi^2 with D degrees of freedom, when an infinite training set is used. However, the distribution of...



Normally boxplot plots the whiskers with a maximum length based on the distance between the 25th and 75th percentile. This script uses boxplot but plots the whiskers for a specified percentile and only plots the outliers beyond the new...



The code calculates a metric between a pair of multivariate Gaussian Mixture Models.
This is a demo code for the unscented Hellinger distance between a pair of Gaussian mixture models. The code follows the derivation of the multivariate...



TableMaker is a point-and-click web-interface for databases, written in Java and JSP. Ad-hoc queries can be performed against the database and exported in tab delimited format. Queries may be saved, uploaded and/or emailed.



WaYee3D ToolKit is a C + + and Ogre-based 3D editor type of Application Framework. C++ Plug-in software architecture. Command pattern. Undo/Redo support. unicode support.



Create websites with a point-and-click and drag-and-drop visual development and content management system. Developers employ a RAD-type development environment, built-in application server and re-usable building blocks to create web solutions....

User Review for Distance between a point and a triangle in 3D
- required fields
     

Please enter text on the image