Questions tagged [geometry-surface]

The mathematical or computing concept of a 2-dimensional shape.

Surface is a place of a manifold of two-dimensional points (flat surface) or surface is a continuous boundary which divide a three-dimensional space into two sections (curved surface). In general, a hypersurface is a variety of (n-1)-dimension points in n-dimensional space.

249 questions
0
votes
1 answer

getting three resultant paths from two intersecting paths

I have two intersecting paths in a xy plane see image. A path is defined by a set of points in order so that every two consecutive points form an edge of path. Paths are always closed. Points are flagged to indicated that whether they from edges or…
Sayam Qazi
  • 193
  • 1
  • 11
0
votes
3 answers

Finding the volume fraction of 3D cells cut by a closed 3D surface

I have a 3D triangulated closed surface. This surface is immersed inside a rectangular Cartesian grid. The surface is stored in a STL format. My goal is to compute the fraction of the cells which are cut by the surface. In other words, when a cell…
afp_2008
  • 1,940
  • 1
  • 19
  • 46
0
votes
0 answers

3D Cube, calculate vertices with coortinate of Center and diagonal

I wanted to know if there is a method to calculate the vertices of a 3D cube (x, y, z) knowing: - The center (coordinate Cx, Cy, Cz) - Coordinate "min", understood as the minimum vertex of the cube (with coordinates mx, my, mz) - Coordinate "max",…
Alberto Deidda
  • 506
  • 1
  • 4
  • 13
0
votes
1 answer

Rectangular intersection scomposition

TL;DR: Decompose the intersection of 2 intersecting rectangles in 3 rectangles, 1 of which is the intersected area. Hi all! I'm currently developing some stuff that needs to visualize some data on a map. What is happening now is that every time the…
FrancescoM
  • 1,400
  • 11
  • 16
0
votes
1 answer

3D Surface plot misplaced axis

The code is: subplot(1,3,3) h=surf(ReflMatrix) set(h, 'edgecolor','none') colormap winter %Other colourmaps: Winter,Cool hold on; ylabel('frequency (Hz)'); xlabel('angle of incidence (degrees)'); alpha(.5) %transparency The ReflMatrix is 401x90.…
Ourania
  • 29
  • 5
0
votes
2 answers

Creating custom shape using BezierSegment

I want to modify an existing ControlTemplate drawing a recantgle in a custom calendar to draw the lower border as shown in the below picture: The current ControlTemplate looks like this:
Philippe
  • 1,949
  • 4
  • 31
  • 57
0
votes
1 answer

ILNumerics plot with 3 coordinates

I have 3 arrays of Rx, Ry, Rz of type float. I'm trying to plot a surface with following code: ILArray y = Ry ILArray x = Rx ILArray z = Rz ILArray Z = ILMath.zeros(x.S[0], x.S[1],…
Max Plakhuta
  • 310
  • 2
  • 14
0
votes
2 answers

Using jzy3d to plot 3D surface in Java

I have a tab-delimited CSV file that has a header, and its first column are labels for each row. For example. Label Sample1 Sample2 Sample3 Sample4 Sample5 U.S.A. 10.1 3.2 5.6 6.9 7.3 Canada 9.8 4.5 …
TonyW
  • 18,375
  • 42
  • 110
  • 183
0
votes
1 answer

surfaceplot with matplotlib over points xyz

I'm trying to plot a surface over several points it should look like a deformed sphere. I used the scatter function and plotted the points, but the surface function is not working (the window is empty). To plot the surface, I think i need a mesh…
user3616531
  • 61
  • 1
  • 5
0
votes
1 answer

2D fitting using matlab?

This may sound like an old question. I thought I know the code, but running it does not give me expected values. My problem is: target function: f = C / (x ^ p * y ^ q) (if you know something about machining, you can tell that this is the Taylor's…
0
votes
0 answers

How can I calculate curvature of each point on a surface?

I have a point cloud and I first draw surface of these points using matlab(by centering of points). my points have 3D coordinates including (X,Y,Z). original of points are same: 32512035.2100000 5401399.57000000 …
Ahmad
  • 73
  • 3
  • 13
0
votes
1 answer

Surface subdivision into equal parts

I have a closed contour represented by a list of points and I need to split it into equal parts, knowing the area of the parts. I think that I can use some subdivision algorithm, like Delanuy subdivision. But with this method I have to give the…
nkint
  • 11,513
  • 31
  • 103
  • 174
0
votes
1 answer

C# code snippet calculating the surface and vertex normals

I need a C# code snippet calculating the surface and vertex normals. Kind of surface is triangulated 3D closed mesh. The required code snippet must be able to use a vertex set and triangleindices. These are ready to use at the moment. The surface of…
Wolfgang
  • 11
  • 1
  • 3
0
votes
1 answer

Visualizing 3D information over a 2D image

I have an image of intensity values. On top of this image are objects that travel various trajectories. The trajectories are traced, and it is noticed that they have a higher average speed when they are closer to the higher image intensity values. I…
Tim
  • 367
  • 1
  • 6
  • 19
0
votes
0 answers

Plotting the surface of a sphere onto a circle

I am trying to create an animation of a sphere rotating but only 2π of the surface of this object can be seen, so I require the ability to plot regions (separation into longitude and latitude) onto a circle and to have them defined by parameters…