Compute distance between Point and a Cone

Write a procedure in C++ to compute Euclidean distance between a 3D point and a cone surface (single cone - not double one). The cone is described by 7 parameters:

*Apex point

*Opening angle

*Axis direction.

It should look like this:

double params[7];

params[0] = this->ApexX;

params[1] = this->ApexY;

params[2] = this->ApexZ;

params[3] = this->ApexAngle;

params[4] = this->ConeDirX;

params[5] = this->ConeDirY;

params[6] = this->ConeDirZ;

double point[3];

point[0] = ...;

point[1] = ...;

point[2] = ...;

double dist = DistFromCone(point, params);

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):

a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.

b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.

3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).

## Platform


Skills: C Programming, CAD/CAM, Engineering, MySQL, PHP, Software Architecture, Software Testing, Web Hosting, Website Management, Website Testing

See more: look and write a or b, hire point, double programming, double in c programming, apex software, cone, Apex, surface web, point surface, site cone, apex programming, including point, 3d opening, programming double, php distance work, php distance

About the Employer:
( 5 reviews ) Poland

Project ID: #3487400

Awarded to:


See private message.

$25.5 USD in 2 days
(58 Reviews)

4 freelancers are bidding on average $32 for this job


See private message.

$51 USD in 2 days
(70 Reviews)

See private message.

$10.2 USD in 2 days
(7 Reviews)

See private message.

$42.5 USD in 2 days
(0 Reviews)