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
Vue Injector 3.3
Spectrum Analyzer pro Live 2019
Devart Excel Add-in for HubSpot 2.1
RentALLScript - Airbnb clone 2.2
SuiteCRM Theme Customization 7.11.6
iScripts NetMenus 3.1
iScripts EasyIndex 2.2
iScripts EasySnaps 2.0
Australia MyPost shipping For Magento 2 1.0.0
Australia Post eParcel For Magento 1.1.1
Source Control for SQL Server 2.0
Answers phpSoftPro 3.12
Exlcart 2.0
School College ERP 1.3.2
White-label Grocery Delivery App Solution 2.0
Top Code
IcrediBB Bulletin Board System 1.0
iScripts EasySnaps 1
iScripts EasyIndex 1
iScripts NetMenus 2.0
Vue Injector 3.3
Java-2-Pseudo 1.0
OpenGl 3D Effect 1.1
Custom Order Form2 1
Linklok URL
T-Shirt Designer Software 4.0
Dynamic Cheat Manipulator 1.0
Ticket Booking System 1.0
DBForms from MSAccess to PHP+PostgreSQL 1.0.0
Password Generator Software 2.3
Put your app in the System Tray 1.1
Top Rated
Answers phpSoftPro 3.12
phpEnter 5.1.
Quick Maps For Dynamics CRM 3.1
Single Leg MLM 1.2.1
Azizi search engine script PHP 4.1.10
Paste phpSoftPro 1.4.1
Extreme Injector 3.7
Deals and Discounts Website Script 1.0.2
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
Distance from points to a parabola 1.0
File ID: 80790






Distance from points to a parabola 1.0
Download Distance from points to a parabola 1.0http://www.mathworks.comReport Error Link
License: Shareware
File Size: 10.0 KB
Downloads: 2
Submit Rating:
Distance from points to a parabola 1.0 Description
Description: This is an adaptation of the projecting method for ellipse introduced by D. Eberly.
Internet publication: "Distance from a point to an ellipse in 2D" (2004) Geometric Tools, LLC, www.geometrictools.com
Book publication: "3D Game Engine Design", 2nd edition.
Morgan Kaufmann Publishers, San Francisco, CA, 2007.
(see Section 14.13.1)

Usage: [RSS, XYproj] = Residuals_parabola(XY,ParG)
Input: XY(n,2) is the array of coordinates of n points
x(i)=XY(i,1), y(i)=XY(i,2)
ParG is a vector 4x1 of the ellipse parameters
ParG = [Vertex(1:2), p, Angle]'
Vertex - the coordinates of the parabola's vertex
p - distance from the focus to the directrix
Angle - the angle of tilt of the parabola

Output: RSS is the Residual Sum of Squares (the sum of squares of the distances)
XYproj is the array of coordinates of projections

The algorithm is proven to converge and reaches an accuracy of 8-9 significant digits. It takes 5-6 iterations per point, on average.

License: Shareware

Related: focus, Distance, directrix, angle, parabola, vertex, Vector, dxyi

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

File Size: 10.0 KB

Downloads: 2



More Similar Code

CSMV calculates distances from a given set of points to a set of linear segments

SYNOPSIS: [squared_distances_to_segments I]=csmv(P,R,Q,to_plot)
[squared_distances_to_segments I]=csmv(P,R,Q,...)

INPUT P,R : arrays of coordinates of 2n segment endpoints
(i.e., if there are n segments considered in p-dimensional
Euclidean space, than P and R are n-by-p matrices); the sizes of P
and R should...



This is an adaptation of the projecting method for ellipse introduced by D. Eberly.
Internet publication: "Distance from a point to an ellipse in 2D" (2004) Geometric Tools, LLC, www.geometrictools.com
Book publication:...



Implementation of Haversine formula for calculating distance between points on a sphere. Given geographic coordinates, returns distance in kilometers.



User points Nodes and Comments utilizes the Userpoints Core module to grant points to a user when they post a node or a comment and/or moderate a comment.
What it does (features)

A configurable number of points can be awarded for...



These files help to map a set of points to a set of edges and arcs.
This maybe interesting for matching GPS coordinates to infrastructure plans.

The simple algorithme was taken from

Journal of the Eastern Asia Society...



This class allows for the export of messages, Contacts and notes from Outlook to a ZODB filesystem database.



This is a rudimentary module to export orders from Ubercart to a CSV file for easy import into Excel.

Warning: the 6.x version is just a rough port of a module I wrote original for the 5.x version of Ubercart. I'm not sure the database...



This module allows you to import or export taxonomy from or to a CSV (comma-separated values) file or with a copy-and-paste text.

When you want to import a vocabulary, a taxonomy or a simple list of terms in your Drupal site, you have...



This module allows you to import or export taxonomy from or to a CSV (comma-separated values) file or with a copy-and-paste text.

When you want to import a vocabulary, a taxonomy or a simple list of terms in your Drupal site, you have...



Upload Log is a module which allows direct uploads from programs to a Drupal site (with authentication, through the HTTP Authentication Module). The sending of notification e-mails is possible, as is data validation.

A demonstration is...

User Review for Distance from points to a parabola
- required fields
     

Please enter text on the image