Questions tagged [intersection]

Intersection is a term that relates to descriptive geometry and functions. Intersections are points which are included in multiple objects. They are intersections of the object they belong to.

2483 questions
0
votes
0 answers

Find Bifurcation/Splitting Point of two 3D Curves

I have the coordinates of curves in 3D space (point curve). The pairs of these curves lie in each other or have pretty much the same coordinates for a while until they branch off. I want to find the point where the two curves branch off of each…
MangoMat
  • 21
  • 4
0
votes
1 answer

Plane-Tetrahedron intersection: How to ensure points are on the edge or inside the tetrahedron, or on the edge or outside the tetrahedron?

Consider the case where the intersection is a quadrangle, and some of the points of intersection on the tetrahedron edges cannot be given exactly (given the numbers used to represent coordinates i.e. not real numbers, but a limited subset e.g.…
0
votes
1 answer

How to replace values in a polygons shapefile through spatial join in python

I have polygons created from an intersection with other polygons existing in a single shapefile: And so the dataframe for this shapefile consists of 4 rows, with separate geometries, each row corresponding to a different intersection zone polygon,…
0
votes
1 answer

How to determine if a 3D line segment intersects a side of a 3D rectangular prism?

I am trying to find a way to determine if a line segment drawn between two points in 3D space will intersect another 3D body (rectangular prism) that is defined by regions using (x, y, z) vertices. Is there a way to do this in Matlab?
Michelle
  • 3
  • 2
0
votes
1 answer

Polyline self-intersection

I am writing code to determine if a polyline is self-intersecting or not. If at least two links of a polyline intersect (at their internal points), it is called self-intersecting. To begin with, I write a function to determine the intersection of…
0
votes
0 answers

Object collision after rotation Fabricjs

After rotating an object on the canvas, there is a problem when object collision, it flies away when the rotated object touches another. I looked through all the articles, I did not find anything. I am using fabricjs…
0
votes
1 answer

How do i find an equation of a line where two planes intersecting each other

so i have two equations(planes) and would like to find an equation for the line(3D) where they intersect each other. I tried solving for my variables with the equations i have and then made third equations from the solution but it doesnt look like…
hghebrem
  • 5
  • 2
0
votes
0 answers

Typescript unexpected intersection constructor parameter from array of classes

I have an array of classes, from which I'd like to init one class based on a static method (getSlug), and pair it with it correspondent consturctor param. interface AnimalParams { name: string; color: string; } class Animal { params:…
bmz1
  • 188
  • 2
  • 8
0
votes
0 answers

Unequal vectors in contingency matrix [Python]

def stability_pairconf(X, est, n_samples, n_iter=20): labels = [] intersect = [] jaccard = [] for x in range(n_iter): boot = resample(X, replace=True, n_samples=n_samples) # estimator = est.fit(boot.iloc[:,1:]) # …
0
votes
0 answers

JTS Polygon.intersects() returns false even though the two polygons touch eachother

I'm trying to check if two polygons are next to each other and touch eachother. For that purpose I use the method ".intersects()" from the JTS library but it returns false even though visually the two polygons touch eachother. Here is my code that I…
rovibes
  • 1
  • 1
0
votes
1 answer

Osmnx package, consolidate_intersections method, with dead_ends=False option, did not remove all nodes at the end of dead end streets

Following the example (https://github.com/gboeing/osmnx-examples/blob/main/notebooks/04-simplify-graph-consolidate-nodes.ipynb) 1st - grab an arbitrary location and graph around it, plot it with the nodes colored red. import osmnx as ox # get a…
Biaspoint
  • 505
  • 3
  • 19
0
votes
2 answers

What is wrong with the following code?

I get a full ellipse not the intersection between the two. What is wrong?
mihajlv
  • 2,275
  • 4
  • 36
  • 59
0
votes
1 answer

Pyspark intersection of two dataframe columns

I have two dataframes in the following format: one is single row: +-----+--------------------+ | col1| col2| +-----+--------------------+ | A | [B, C, D] …
A.M.
  • 1,757
  • 5
  • 22
  • 41
0
votes
1 answer

remove polygons with an intersection higher than a threshold

The goal is to remove polygons with an intersection higher than a threshold, let's say 80% of the area from the smaller intersected polygon. In the following picture we see in first image how the small red circle in coordinate (2.06, 41.41) is…
PeCaDe
  • 277
  • 1
  • 8
  • 33
0
votes
1 answer

How to get the point of Visual HitTest when using a geometry as a hit test parameter

When you use a geometry for the hit test parameter is there a way to get the point of intersection (i.e. hit) between the two geometries, right now it only says that it has been hit and the HitTestResult from what I can see doesn't provide any such…
mihajlv
  • 2,275
  • 4
  • 36
  • 59