Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
Using Bézier Polygon to draw an arc
Posted 2021年4月15日 GMT-4 21:01 Geometry Version 5.3a 1 Reply
Please login with a confirmed email address before reporting spam
Hello,
I am trying to draw a 2D closed non-intersecting geometry that consists of lines and arcs (portion of a circle). From my understanding, using the Bézier Polygon would be appropriate for this.
However, I am having a hard time figuring out how to define the arcs. For a quadratic segment, COMSOL requires three control points and three weights as inputs. For the control points I put in the two endpoints of the arc, as well as the center point (that lies on the arc and is equal arc lengths from the two endpoints). I set the weights to 1, 1/sqrt(2), and 1. However, this doesn't give the arc I desire.
Can anyone explain how to calculate the control points and three weight points, if I'm starting with the equation of the circle the arc lies on + the two end points of the arc? Thank you for your help.