Find Jobs
Hire Freelancers

Arc between the start of 3D line and end of another 3D line (returned as a series of Vector 3 points)

$10-30 AUD

Ακυρώθηκε
Αναρτήθηκε περίπου 7 χρόνια πριν

$10-30 AUD

Πληρωμή κατά την παράδοση
We need the mathematics/code for the generation of an array of vector3 position points along an arc that goes from the end of one 3D line to the start of another 3D line. The arc is of arbitrary radius, but MUST extend from start/end of each respective line such that the centre of the arc is tangental to the direction axis of both lines. The arc must be circular, not an ellipse. The arc points should be evenly spaced between the line A end and line B start. The method following is the format that we wish the function to be completed. The code needs to be written in C#. List<Vector3> arcPoints(Vector3 lineAEnd, Vector3 lineBStart, Vector3 lineADirection, Vector3 lineBDirection, int arcPointCount) { //lineAEnd is the position of the end of incoming (1st) straight line //lineBStart is the position of the start of outgoing (2nd) straight line //lineADirection is the vector direction of the 1st line (IMPORTANT NOTE: the direction is pointing "towards" the arc). //lineBDirection is the vector direction of the 2nd line (IMPORTANT NOTE: the direction is pointing "away from" the arc). // arcPointCount is the number of point that want to be returned // the arcPoints method returns a generic list array of Vector3 position points that connects from the first line to the second through an ARC of arbitrary radius. The start and end of the arc need to be at the correspond ends line direction (i.e. origin of the arc is tangental line direction to both lineAEnd and lineBStart) } Please review the attached image for visual indication of the problem. NOTE that the lines and solution is required in THREE dimensions, the image is only for reference.
Ταυτότητα εργασίας: 14063243

Σχετικά με την εργασία

Απομακρυσμένη Εργασία
Ενεργός/ή 7 χρόνια πριν

Ψάχνεις τρόπο για να κερδίσεις μερικά χρήματα;

Πλεονεκτήματα πλειοδοσίας στο Freelancer

Καθόρισε τον προϋπολογισμό σου και το χρονοδιάγραμμα
Πληρώσου για τη δουλειά σου
Περίγραψε την πρόταση σου
Η εγγραφή και η πλειοδοσία σε εργασίες είναι δωρεάν

Σχετικά με τον πελάτη

Σημαία της AUSTRALIA
Hobart, Australia
5,0
10
Επαληθευμένη μέθοδος πληρωμής
Μέλος από Ιαν 17, 2017

Επαλήθευση Πελάτη

Ευχαριστούμε! Σου έχουμε στείλει ένα email με ένα σύνδεσμο για να διεκδικήσεις τη δωρεάν πίστωση σου.
Κάτι πήγε στραβά κατά την προσπάθεια αποστολής του email σου. Παρακαλούμε δοκίμασε ξανά.
Εγγεγραμμένοι Χρήστες Συνολικές Αναρτημένες Δουλειές
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Φόρτωση προεπισκόπησης
Δόθηκε πρόσβαση για Geolocation.
Η σύνδεση σου έχει λήξει και τώρα έχεις αποσυνδεθεί. Παρακαλούμε συνδέσου ξανά.