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 3429588
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T07:06:00+00:00 2026-05-18T07:06:00+00:00

Suppose you have an arbitrary closed curve (endpoint returns relatively close to first point)

  • 0

Suppose you have an arbitrary closed curve (endpoint returns relatively close to first point) generated through a bunch of dataset coordinates, how do you find the centerpoint and the boundaries of the resulting shape?

  • 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-05-18T07:06:01+00:00Added an answer on May 18, 2026 at 7:06 am

    There are two possible interpretations (perhaps more) for your question.

    The first one was already addressed by @AakashM, and we may depict it in the following plot:
    alt text

    Where the red square is the “boundary”.
    I’ll cite @AakashM here, because I understand his remark VERY important:“(I note that for you to have a closed curve, you need the endpoint to be not just ‘close to’, but coincident with the first point)”

    As for the centerpoint, you have at least two “natural ways” for calculating it with this definitions:

    1. Centerpoint = Middle Point of the Red Square
    2. Centerpoint = { Mean of x coordinates of your curve, Mean of y coordinates of your curve}

    Both of them may serve as a center point, but the results will be different.

    The other way of dealing with the problem is finding the Convex Hull of your curve, as depicted below:

    alt text

    If you google for it, you will find algorithms for finding the Convex Hull, a nice introduction is here.

    Again, you have two “natural ways for calculating the centerpoint:

    1. Centerpoint = { Mean of x coordinates of your curve, Mean of y coordinates of your curve}
    2. Centerpoint = { Mean of x coordinates of the CH points, Mean of y coordinates of the CH points}

    HTH!

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

Sidebar

Related Questions

Given an arbitrary floating point number, say -0.13 , suppose we have an algorithm
Suppose I have an enum with arbitrary increments between contents. Like so: typedef enum
Suppose I have a pure virtual method in the base interface that returns to
Suppose I have a static method of my class that returns an object of
Suppose we have some arbitrary positive number x . Is there a method to
Suppose I have a collection (of arbitrary size) of IQueryable<MyEntity> (all for the same
Suppose I have a function that does something on an arbitrary container type (C++11):
How can I remove an arbitrary item from a priority queue. Suppose I have
Suppose a function f() returns a value of arbitrary type, perhaps an object but
Suppose we have an arbitrary graph represented by nodes and pointers like this: class

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.