Questions tagged [boundary]
481 questions
4
votes
1 answer
Placing a boundary around a series of points in ggplot2
I have a series of points that I want to place a boundary around. How can I go about this?
These are my points:
I tried geom_line but that was obviously wrong since it produced this!
Thanks

Elizabeth
- 6,391
- 17
- 62
- 90
4
votes
1 answer
Scipy boundary conditions on a sparse matrix pattern
My system is best described by a diagonal sparse matrix (Poisson). I have my diagonal sparse matrix, however, I want to change the boundary conditions (ie the "edges" of my matrix) to zero. It must be a common situation where a modeler wants to…

user1354372
- 77
- 2
- 7
3
votes
1 answer
What "boundary conditions" can make a rectangle "look" like a circle?
I am solving a fourth order non-linear partial differential equation in time and space (t, x) on a square domain with periodic or free boundary conditions with MATHEMATICA.
WITHOUT using conformal mapping, what boundary conditions at the edge or…

dearN
- 1,256
- 4
- 19
- 40
3
votes
3 answers
Python - plotting surface around 3D plot cloud
I run computational fluid dynamic simulation and I want to refine my mesh in the areas for which a quantity is superior to a threshold. I manage to extract the point locations so I obtain a list of points describing the areas that correspond to my…

Martin7
- 93
- 8
3
votes
1 answer
API controller POST method multipart/form-data using boundary get message inside the body
I'm having trouble developing a C# (.Net 5) method on an API controller who can manage request who have 'multipart/form-data; boundary=boundary'
I can't change the request on the client side, I only can modify my backend to adapt to it.
The request…

Johna
- 2,623
- 3
- 21
- 36
3
votes
2 answers
Is \bword\b and \ equivalent in GREP and what usage of \<, \>?
Is \bword\b and \ equivalent in GREP and what usage of \<, \> ?

HotShot
- 31
- 2
3
votes
1 answer
How would I set a boundary around an isometric grid?
So I've made an isometric grid that would be the world/level of a game, and I want to set boundaries around the grid so the player can't go off of them. Since it's all slanted, and the functions I wrote to make the grids automatically place the…

Noah
- 103
- 10
3
votes
2 answers
Collision Checking With JavaScript
I'm creating a game where the user wanders around a cemetery and collects stories from different graves. It's a classic top-down game. I'm building a script where if the user walks into a grave their movement stops, but I'm having trouble setting up…

Kenton de Jong
- 1,001
- 4
- 17
- 37
3
votes
1 answer
Find all "neighbors" for element in multidimensional array, wrapping around the boundaries
Lets say I use an 2D/3D numpy array to model a box consisting of cells. The cells are labeled by increasing numbers starting from 0. Until here, this could be done by
box = np.arange(np.prod(n_cells))
box = box.reshape(n_cells)
where n_cells is a…

Marsl
- 285
- 1
- 10
3
votes
1 answer
Cannot extract all words using word or whitespace boundary with regex
I need extract double Male-Cat:
a = "Male-Cat Male-Cat Male-Cat-Female"
b = re.findall(r'(?:\s|^)Male-Cat(?:\s|$)', a)
print (b)
['Male-Cat ']
c = re.findall(r'\bMale-Cat\b', a)
print (c)
['Male-Cat', 'Male-Cat', 'Male-Cat']
I need extract tree…

jezrael
- 822,522
- 95
- 1,334
- 1,252
3
votes
3 answers
How to Handle multipart/form-data request without express
So I have this form:
3
votes
1 answer
Parsing and saving multipart form data from a file using werkzeug
I have the below file that was saved from a http POST that I want to parse using Python using werkzeug parse_form_data(). Note that I am not getting it via a request, but through a file. I cannot get the file directly from a flask request for…

Fuithecat
- 131
- 2
- 5
3
votes
2 answers
How can I set the multipart boundary with JMeter
I'm using this guide to send a multipart POST request to a server with JMeter: https://www.blazemeter.com/blog/testing-advanced-rest-api-file-uploads-jmeter
In this request there are several parts like a file, some strings and JSON.
The problem is,…

unveloper
- 260
- 1
- 4
- 12
3
votes
1 answer
Porous Boundary
I just set up a boundary for my game which seems to be working alright until it is really forced, as in I make my character run towards it for several seconds, and then my character will just go straight through. Any explanations for this and how I…

Pierre Courpron
- 67
- 6
3
votes
2 answers
Set player's boundary within sphere
I want to restrict player movement in the sphere, the schematic diagram show as below. If player movement is out of range, then restrict player to sphere max radius range.
How can I write C# code to implement it, like this?
These are my current…

user3177358
- 49
- 3