Questions tagged [area]

Area is a quantity that expresses the extent of a two-dimensional surface or shape, or planar lamina, in the plane.

Area is a quantity that expresses the extent of a two-dimensional surface or shape, or planar lamina, in the plane. Area can be understood as the amount of material with a given thickness that would be necessary to fashion a model of the shape, or the amount of paint necessary to cover the surface with a single coat.

1332 questions
4
votes
1 answer

Blazor - Multiples area - custom _Hostm.cshtml

I have a blazor application with areas like this : Pages _Host.cshtml index.razor Area products Pages _HostAdmin.cshtml admin.razor I need a custom _Host.cshtml for each area, with custom javascript, css etc... I have try using multiples…
ClubberLang
  • 1,624
  • 3
  • 21
  • 45
4
votes
1 answer

ggplot: Fill small area under normal curve: remove "joining" area

I would like to fille a small area under a curve. However, the ribbon geoms join the two "parts" of the distribution. library(tidyverse) density(rnorm(1000, 0, 1)) %$% data.frame(x=x, y=y) %>% mutate(area = dplyr::between(x, 1.5, 2.6)) %>% …
Dominique Makowski
  • 1,511
  • 1
  • 13
  • 30
4
votes
1 answer

Calculating Roundness

I'm currently developing a simple shape detection algorithm where I'd like to distinguish extracted shapes from an image into different types, like triangle, square, circle, .... I got no problems extracting all of these areas - I just got problems…
user9590073
4
votes
1 answer

How to synchronize animation of path and area?

I'm getting stuck with the D3.js v4's animation of both line & area: It's ok to do the animation separately for line & area When 2 animations are combined, even at the same transition duration, they do not occur together. For the reason of styling,…
TrungNguyen
  • 309
  • 5
  • 9
4
votes
1 answer

Pygame blit area parameter?

I am currently trying to blit a part of an already drawn image again. For this I read one can use the optional third area parameter when using blit. I do not know why but that parameter is acting weird for me. From what I understand the area…
Julian
  • 135
  • 2
  • 8
4
votes
0 answers

Calculate area ( in sq feet or mile or meter ) of places received from google map api

Hello Team , I am using following google map api to load near by restaurants Request https://maps.googleapis.com/maps/api/place/textsearch/json?query=hotel&name=hotel&location=".$lat.",".$long."&radius=100&key=".$apikey, Response "error":…
Kinjal
  • 142
  • 4
4
votes
4 answers

ASP .NET MVC Area registration

I have little problem with my "Admin" area registration, which are stored in AdminAreaRegistration.cs inside "Admin" area folder. My routes look like this: context.MapRoute( "Admin_News", "Admin/News", new…
Ashiv3r
  • 894
  • 4
  • 14
  • 28
4
votes
4 answers

How do you JavaScript style area elements on mouseover?

I've got an image map with 20 area elements, only four shown below. I want to style each area so that a blue border appears whenever a user hovers over it - all the area shapes are rectangles.
CMD
  • 65
  • 1
  • 7
4
votes
0 answers

Using Opencv and C++ to find areas of very small objects, possibly self-intersecting

How do I calculate areas of very small objects, sometimes 2 pixels in area? MATLAB's regionprops() seems to do this well, and will return values of even 1 for a point. I've read widely on this issue and everyone seems to caution against…
darel
  • 128
  • 1
  • 9
4
votes
2 answers

C# : How to get area between two series in chart in C#?

I have two series in a chart in c#. I just want to get the area between these two series. These series are connect with each other. I have attached the chart image. Here there are two series. For example Series1 and Series2. If series2 cross above…
rakib
  • 197
  • 8
4
votes
1 answer

ggplot combine line and area in same panel (facet-grid)

I am trying to create a facet grid. It will have three rows and four columns. I want two rows to be line graphs, and one to be a stacked geom_area. Except when I plot this, It always turns up as four rows- two lines, two areas. I would like the…
Valerie S
  • 917
  • 2
  • 7
  • 17
4
votes
4 answers

Random based on area

I have an array of elements: $arr = array( '0' => 265000, // Area '1' => 190000, '2' => 30000, '3' => 1300 ); I want to get random index based on the area (Array value). I need the area with big value be selected more frequently. How can I…
XTRUST.ORG
  • 3,280
  • 4
  • 34
  • 60
4
votes
1 answer

Android - create clickable area on imageview

I want to create a clickable area on imageview using this data "X1": "213", "Y1": "174", "X2": "339", "Y2": "269", and also I want to associate a Action with this clickable area like go to some Activity when tap on it. I don't want to use solution…
Hamza Mehmood
  • 151
  • 1
  • 10
4
votes
1 answer

How to shade area between horizontal line and curve in Matlab plot

I'm trying to shade the area above a constant horizontal line. Above the horizontal line represents data in the top 10% (i.e., 90% of my data is below the horizontal line). I used the function (curve intersect) to find the start and end of where the…
user3052817
  • 245
  • 3
  • 9
4
votes
1 answer

Restrict Area to a given role

I have an area setup in MVC2, called Admin/, which I want I only want Users who belong to the role "admins" to have access. I know I can decorate each of the methods with [Authorize(Roles="admins")], but this seems tedious when your talking about…
Scott
  • 11,046
  • 10
  • 51
  • 83