Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9186045
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T19:25:40+00:00 2026-06-17T19:25:40+00:00

Background: I have a set of point which I run through a convex hull

  • 0

Background:

I have a set of point which I run through a convex hull algorithm, these points returned are then drawn as a polygon on the screen.

Aim:

I want to “smooth” out the polygon into an ellipse/oval like shape.

Is there a simple way to do this or is there an algorithm for this?

Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T19:25:42+00:00Added an answer on June 17, 2026 at 7:25 pm

    Got something that works…

    Because I am drawing a polygon from a set of points, the width/height/bounds are not set correctly (always 0, not sure if its my fault or not?), however, I do have the points that make up the polygon.

    What I decided to do was loop through the points getting the left most x, right most x, top most y and bottom most y. This then allows me to work out the width, height and position to draw the ellipse at.

    The result is this:
    enter image description here

    Thanks to Clemens for the help 🙂

    If there is a better way of doing this please let me know.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a simple fabric.canvas element which has a background and I have set
I have one AlertDialog which is working fine.I have set some background images to
I have set a background on the data-role=page element like so <div data-role=page style=background:
Background I have an array of objects (Users) defined and set as follows: //
let's say I have this set of HTML-markup and CSS #CSS .inputhelp_text { background:
In a QGraphicsScene , I have a background set with a few QGraphicsItem s
I have a sprite image set as the background of an element on my
I have a page where the background colour can be set dynamically. In some
I have a page where the body is set to a background colour. I
Well i have a transparent div or the background is set to transparent :)

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.