
Distance from points to a parabola 1.0 File ID: 80790 


 Distance from points to a parabola 1.0 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 89 significant digits. It takes 56 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 pdimensional Euclidean space, than P and R are nbyp 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 (commaseparated values) file or with a copyandpaste 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 (commaseparated values) file or with a copyandpaste 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 emails is possible, as is data validation.
A demonstration is... 
User Review for Distance from points to a parabola 
