Need function to find center of fillet and tangent points with two lines

I have two, 2-D lines specified by two points (x1, y1) - (x2, y2) and (x3, y3) - (x4, y4). I also have a fillet radius.

I am looking for a function to calculate the coordinates of the center location of the fillet and also the tangent points with the two lines.

Can be written in C, c# or swift. My preference would be swift but the other two languages would be fine. Please specify the language in your bid!

// line from (x1, y1) to (x2, y2)

// line from (x3, y3) to (x4, y4)

// fillet radius

// return center of fillet and tangent points of two lines

func findFillet( radius: Double, x1: Double, y1: Double, x2: Double, y2: Double, x3: Double, y3: Double, x4: Double, y4: Double) -> (centerX: Double, centerY: Double, tangent1X: Double, tangent1Y: Double, tangent2X: Double, tangent2Y: Double)


return (centerX, centerY, tangent1X, tangent1Y, tangent2X, tangent2Y)


Fähigkeiten: C Programmierung, C# Programmierung, Mathematik, Matlab und Mathematica, Swift

Mehr darüber call center need agents, call center need calling minutes, call center need campaigns, google maps pin points lines, center need projects, call center need project, outbound call center need database, process center need security, call center need process, call center need projects, sales center need, visual basic drawing points lines, domestic call center need process, call center need data entry, call center need

Über den Arbeitgeber:
( 131 Bewertungen ) Bonita Springs, United States

Projekt-ID: #12519165

Vergeben an:


C. I'm a CAD developer I guaranty the best code free from mathematical exeptions divisions by cero and geometrical problems.

$25 USD in 20 Tagen
(3 Bewertungen)

3 Freelancer bieten im Durchschnitt $30 für diesen Job


Hi there! I can solve the problem using C language. Please contact me for a details. Waiting for your response. Regards, Valentin

$30 USD in 2 Tagen
(29 Bewertungen)

I will make this in C :) or matlab --------------------------------------------------------------------------------------------------------------------------------------------------------------------

$35 USD in 1 Tag
(0 Bewertungen)