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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T09:47:31+00:00 2026-06-18T09:47:31+00:00

So say I am given a set of points: 0, 0 0, 5 5,

  • 0

So say I am given a set of points:

0, 0
0, 5
5, 5
5, 3
4, 3
4, 2
5, 2
5, 0
0, 0

These points make up the border of a shape/object

The object looks like this:

 __________
|          |
|        __|
|       |__
|          |
|__________|

How can I mathematically determine the area? (in the example it would be 24..)

Additionally and more importantly, how can mathematically determine the x, y coordinates of each 1 unit by 1 unit box inside? (in the example, some of the boxes would have coordinates at (0,0), (0, 1), (0, 2) and so on…)

  • 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-18T09:47:32+00:00Added an answer on June 18, 2026 at 9:47 am

    If the shape is convex, you can break it down into triangles and then just sum the area of said triangles.

    If the shapes are all rectangles (as in your example), then you just need sum the range between the start point and end point of each row.

    If the shape is concave, then it’s substantially more difficult. More information here:

    http://math.tutorvista.com/geometry/concave-polygon.html

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

Sidebar

Related Questions

I came across this question: say given two weights 1 and 3, u can
I recently had this problem on a test: given a set of points m
Let say we have set of URLs like this yoursite.com/39827-key1-key2-key3 yoursite.com/132-key1-key2-key3 yoursite.com/9223455-key1-key2-key3 and so
For a given entity set, say, WHO_TYPES, I want to limit the columns to
I need to generate a set of coordinates in Erlang. Given one coordinate, say
I have a requirement. Given say Test1,Test2, I have to perform a like operation.
Given some data of shape 20x45, where each row is a separate data set,
Let's say I'm given a string, and I want to define a function with
Let's say you were given the arrival date 12/28/10 and a departure date of
given a string say a 19 b c d 20, how do I test

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.