straight line and plane intersection
plane_line_intersect computes the intersection of a plane and a segment(or
%plane_line_intersect computes the intersection of a plane and a segment (or a straight line)% Inputs: % n: normal vector of the Plane % V0: any point that belongs to the Plane % P0: end point 1
- 7.9K (All time)
- 1 (Last 30 days)
- 4.7 / 5
- Community
-
27 Nov 2007
Fast Line Segment Intersection
Finds the pairwise intersection points between line segments in 2D Cartesian space.
OUT = LINESEGMENTINTERSECT(XY1,XY2) generates intersection analysis between the line segment sets given in XY1 and XY2. Code can handle coincident and parallel lines.The main emphasis is on speed
- 7.8K (All time)
- 2 (Last 30 days)
- 4.9 / 5
- Community
-
10 Apr 2010
Multiple curve and line intersection.
many line and curve intersection.
easy to use for any type of line and curve intersection with example.
- 180 (All time)
- 2 (Last 30 days)
- 5.0 / 5
- Community
-
5 May 2021
Calculate intersection point of two 2d lines specified with 2 points each
Calculate intersection point of two 2d lines specified with 2 points each(X1, Y1; X2, Y2; X3, Y3; X4, Y4), while 1&2 and 3&4 specify a line.Gives back NaN or Inf/-Inf if lines are parallel (=
- 1.6K (All time)
- 2 (Last 30 days)
- 4.2 / 5
- Community
-
13 Mar 2012
This function finds the intersection point of two lines.
This function uses a method of determinants to find the intersection of two linear lines. Inputs into this function are coordinates of two lines (vectors) i.e. Line1 = [(x11,y11);(x12,y12)] and
- 504 (All time)
- 2 (Last 30 days)
- 5.0 / 5
- Community
-
8 Sep 2011
A function to fine the point where a line intersects a plane.
Given 1) a line parameterized by a point in 3D space along with a 3x1 vector indicating the line's direction, and 2) the coefficients (a b c) of a plane (z = a*x + b*y + c), vector_plane_intersect
- 354 (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
24 Apr 2012
grain and particle analysis with line intersection method
This GUI allows you to analyze the size of grains in a micrograph with the 'line cut' method.
- 4K (All time)
- 9 (Last 30 days)
- 4.6 / 5
- Community
-
2 Apr 2012
A function to compute the intersection point between two lines of the space (3D or 2D)
- 198 (All time)
- 2 (Last 30 days)
- 5.0 / 5
- Community
-
16 Jul 2024
Intersection of Line to Generalized Ellipse
This function returns the points of intersection between a line and a generalized ellipse
- 507 (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
13 Jun 2014
Implementation and visualisation of multiple classical linear calibration methods for a single image
- 56 (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
18 Nov 2023
- 2.6K (All time)
- 7 (Last 30 days)
- 4.9 / 5
- Community
-
10 Jun 2022
Given the homogeneous matrices of two conics it recovers the (up to) four intersection points
-6]%get the four homogeneous intersectionsP = intersectConics(E1, E2)%plot the normalized pointsplot(P(1,:) ./ P(3,:) , P(2,:) ./ P(3,:), 'ro');___________________For more info
- 1.5K (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
30 Aug 2015
Convert a closed triangulated mesh to a tetrahedron volume ( like constrained Delaunay )
Delaunay is used to created a tetrahedron convexhull. Then outside tetrahedrons and tetrahedrons intersecting the boundary mesh are removed. - Second, New triangulated surface meshes are
- 2.1K (All time)
- 3 (Last 30 days)
- 5.0 / 5
- Community
-
18 Jun 2010
Mission On Mars Robot Challenge 2016 - France
Documentation, Simulation and Arduino/Raspberry Pi design and models
- 4.1K (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
10 Mar 2016
Measure of geometric parameters in 2D or 3D images (surface area, perimeter, Euler Number...)
- 4.6K (All time)
- 1 (Last 30 days)
- 4.9 / 5
- Community
-
11 Jan 2021
Finds the points of intersection for linear time series data, very efficiently
Code::~~~~~~~~~~~~~~numElem= 50; a=rand(numElem,1); b=rand(numElem,1); xs=1:numElem;[x,y, signs]=lineIntersect(a,b);plot(xs,a,'k',xs,b,'b',x,y,'ro')
- 1.8K (All time)
- 1 (Last 30 days)
- -- / 5
- Community
-
21 Apr 2008
This package allows for the easy computation of multiple parameters for space objects.
- 1.5K (All time)
- 4 (Last 30 days)
- 5.0 / 5
- Community
-
29 Mar 2016
Intersection of Two Lines (line_intersection)
Finds the intersection of two lines.
line_intersection Finds the intersection of two lines.Syntax[x_int,y_int] = line_intersection(l1,l2)Inputsl1 (1×1, 1×2, 1×3, or 1×4 double) vector defining line 1:[x1]: vertical line form, [m1,b1
- 981 (All time)
- 1 (Last 30 days)
- -- / 5
- Community
-
16 Jul 2024
- 1.1K (All time)
- 2 (Last 30 days)
- 4.7 / 5
- Community
-
31 Jan 2017
affineSpaceIntersection - Intersection of lines/planes/volumes/etc.
Compute intersections of lines, planes, volumes, etc. in arbitrary dimensions.
Intersect lines and lines, lines and planes, planes and planes, etc. with this function. You can even use it in arbitrary dimensions and intersect two, three or more spaces.
- 346 (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
23 Mar 2015
Intersection point of lines in 3D space
Finding intersection point of lines in 3D space (two or more lines).
Nx3-matrix containing starting point of N lines% PB : Nx3-matrix containing end point of N lines% P_Intersect : Best intersection point of the N lines, in least squares sense.% distances : Distances from
- 3.2K (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
15 Jun 2012
Geometry library for matlab. Performs geometric computations on points, lines, circles, polygons...
an intuitive syntax. Ex: createCircle(p1, p2, p3) to create a circle through 3 points, create parallel and perpendicular lines* compute intersections between 2 lines, between a line and a circle* work
- 34.4K (All time)
- 5 (Last 30 days)
- 4.1 / 5
- Community
-
26 Sep 2019
Line Segment Intersection in MatLab
0.5)*2;yb = (rand(2, n) - 0.5)*2;% find the intersections[xi, yi] = line_intersect(xa, ya, xb, yb);figure; ha = axes; hold on;xlabel("x"); ylabel("y");title("Example: line_intersect", Interpreter="none");h1 =
- 3 (All time)
- 1 (Last 30 days)
- -- / 5
- Community
-
10 Sep 2024
Frames slices and plots a line where two slices intersect.
This function is built around MATLAB's slice function. It plots a black line along the edges of each slice and a dotted line where two slices intersect. This may be useful to help in the
- 1K (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
19 Apr 2005
Chord Length Distribution from Binary 2D Images
Measure the chord length distribution of two phases in binary images
A chord is a line segment with every point in one of the two phases, and with its end points on the interface between the two phases [1]. Randomly oriented lines can be laid across each image, and
- 213 (All time)
- 3 (Last 30 days)
- 4.0 / 5
- Community
-
2 Nov 2017
Constrain the vertices of a Voronoi decomposition inside the input rectangular cuboid domain.
- 644 (All time)
- 4 (Last 30 days)
- 5.0 / 5
- Community
-
2 Apr 2020
- 1.1K (All time)
- 1 (Last 30 days)
- -- / 5
- Community
-
17 Jun 2010
Line-Line Intersection (N lines, D space)
Find intersection of N lines in D-dimensional space, in least squares sense.
Find intersection of N lines in D-dimensional space, in least squares sense. X = lineXline(A,B) -line starts & ends as N*D X = lineXline({x y..}) -lines as D long cell of starts & ends as
- 441 (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
29 Oct 2016
Find intersection of two lines
This function accepts two lines and returns the point that the lines have in common.
- 3K (All time)
- 3 (Last 30 days)
- 3.5 / 5
- Community
-
22 Feb 2011
Corresponding Points through MDL
Minimum Description Length optimization of PCA model for 2D/3D ASM model building
are three examples,1D, Line optimization2D, Circle MDL of hand contours3D, Sphere MDL of jaw surfacesNotes!The code can be a bit messy (because I have no spare time left).3D MDL works much worse then my
- 1.4K (All time)
- 1 (Last 30 days)
- 2.5 / 5
- Community
-
14 May 2012
Plane and triangulated surface intersection line
Intersection line of a plane with a 3D triangulated surface
Function calculates the intersection line of a plane with a 3D triangulated surface. The algorithm was developed to calculate the intersection line of a plane with a 3D rendered cell from 3D confocal
- 43 (All time)
- 1 (Last 30 days)
- -- / 5
- Community
-
31 Jan 2025
Given two line segments, compute the intersection point.
% [E, lambda, gamma, isConvex] = lineIntersection(A,B,C,D)%% Given a line segment AB and another line segment CD, compute the point E% where the lines intersect.%% INPUTS:% A = [2,n] = [Ax;Ay] =
- 274 (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
30 Apr 2016
ROKA - ROck slope Kinematic Analysis
ROKA use the 3D geometry information of the rock discontinuities to perform and ad-hoc kinematic analysis based onto the 3D slope model
- 139 (All time)
- 3 (Last 30 days)
- -- / 5
- Community
-
30 Aug 2021
Line plane intersection [FAST]
A function to compute the intersection between a parametric line of the 3D space and a plane.
Please first check the examples tab (.mlx file) here on the right for a complete description.Once downloaded, typewrite 'help line_plane_intersection' or 'doc line_plane_intersection' in Matlab
- 799 (All time)
- 1 (Last 30 days)
- 4.7 / 5
- Community
-
15 Jul 2024
Intersections of multiple 2D lines or line segments
Compute the intersection of a reference line (or line segment) with a polyshape boundary or with a batch of other line segments.
The command linexlines2D() offered in this submission is a flexible tool for computing the intersection points between a reference 2D line segment and a batch of other 2D line segments. Either the
- 250 (All time)
- 1 (Last 30 days)
- 4.0 / 5
- Community
-
30 Mar 2022
- 494 (All time)
- 1 (Last 30 days)
- -- / 5
- Community
-
26 Nov 2020
Interface detection in point cloud data (SRM & SMLM)
Code for detecting interfaces in super-resolution microscopy (SRM) data. Also works for other types of Poisson-distributed point cloud data.
different densities in each region.The model assumption is that the points come from a Poisson Point Process on a rectangular region.This region has been divided into two regions by a straight line through
- 6 (All time)
- 1 (Last 30 days)
- -- / 5
- Community
-
10 Apr 2022
Concave hull: A k-nearest neighbours algorithm
Concave hull: A k-nearest neighbours approach for the computation of the region occupied by a set of points
- 225 (All time)
- 1 (Last 30 days)
- -- / 5
- Community
-
15 Jan 2024
- 1.1K (All time)
- 4 (Last 30 days)
- -- / 5
- Community
-
14 Aug 2020
Mission On Mars Robot Challenge 2015 - France
Documentation, Simulation and Arduino/Raspberry Pi design and models
- 2K (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
29 Jun 2015
- 19 (All time)
- 2 (Last 30 days)
- -- / 5
- Community
-
30 Jul 2024
- 1.5K (All time)
- 2 (Last 30 days)
- -- / 5
- Community
-
13 Apr 2021
Generate random fibers inside a box, then crops the fibers into smaller box
- 32 (All time)
- 1 (Last 30 days)
- -- / 5
- Community
-
22 Sep 2024
Line Segment and Box Intersection
Finds the intersection between a line segment and a box (cuboid)
This function finds the intersection between a line segment and a box (cuboid). Example file is provided.function [xl2,yl2,zl2]=Line_Box_Intersection(xb,yb,zb,xl,yl,zl)Input:xb=[xb1 xb2]: x
- 51 (All time)
- 1 (Last 30 days)
- -- / 5
- Community
-
22 Sep 2024
Intersection of Line and Generalized Ellipse
这个改进的函数用于计算直线与广义椭圆的交点。(This improved function returns the points of intersection between a line and a generalized ellipse.)
, C2).POST CONDITION: If (line does not intersect) NaN is returned. If a single point of intersection, (C1) = (C2) or one of the point is NaN. If two points of intersetion, two
- 5 (All time)
- 1 (Last 30 days)
- -- / 5
- Community
-
19 Jul 2024
Shows y-values of time series in 2D plots by clicking on the axes.
. By clicking repeatedly on different x positions, the labels and reference line come and go.After clicking on top of the reference line, it can be dragged together with the text boxes indicating the
- 1.8K (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
10 Mar 2017
- 188 (All time)
- 1 (Last 30 days)
- 3.3 / 5
- Community
-
24 Jan 2022
A structured FEM mesh generator for masonry facades with the capability to mesh openings and partition walls.
- 18 (All time)
- 2 (Last 30 days)
- -- / 5
- Community
-
16 Jan 2023
Fast and Robust Curve Intersections
Computes intersection points of two curves.
This function computes the (x,y) locations where two curves intersect. The curves can be broken with NaNs or have vertical segments. It is also very fast (at least on data that represents what I
- 44.6K (All time)
- 19 (Last 30 days)
- 4.9 / 5
- Community
-
31 May 2024
- 102 (All time)
- 1 (Last 30 days)
- -- / 5
- Community
-
7 Apr 2025
- 117 (All time)
- 1 (Last 30 days)
- -- / 5
- Community
-
13 Feb 2018
Detection of percolation of nanotubes (straight line)
the code helps find weather, a network of randomly deposited straight line (nanotubes or whatever) in a defined area, percolate or not?
the code helps find weather, a network of randomly deposited straight line (nanotubes or whatever) in a defined area ( a substrate), percolate or not. If percolate how strong is network. method may
- 32 (All time)
- 1 (Last 30 days)
- -- / 5
- Community
-
12 Nov 2020
Intersection of two lines (a fast parametric method)
A fast two-line intersection point-based in parametric space. Finds the intersection point between two lines if it exists.
# Intersection of two lines (LinexLine)[![View Intersection of two lines (a fast parametric method) on File
- 1.4K (All time)
- 1 (Last 30 days)
- -- / 5
- Community
-
16 May 2025
Finds the intersection points between two arbitrary polygons.
GeneralThis file is based on the Curve Intersect function by Duane Hanselman. It extends the scope of the function to handle arbitrary lines / polygons, which may also have vertical segments or
- 11.5K (All time)
- 2 (Last 30 days)
- 5.0 / 5
- Community
-
16 Feb 2007
computes the intersection of a plane and a segment(or
As on picture, here we can see line through the plane, so we can found the intersection coordinate, have fun....
- 44 (All time)
- 1 (Last 30 days)
- 1.0 / 5
- Community
-
20 Dec 2021
Extract the intersection point between two 2d lines, each line defined by two points.
- 7 (All time)
- 1 (Last 30 days)
- -- / 5
- Community
-
31 May 2021
Fast and Robust Self-Intersections
Computes the self-intersections of a curve.
This function computes the locations where a curve self-intersects in a fast and robust way. The curve can be broken with NaNs or have vertical segments. Segments of the curve involved in each of the
- 2.6K (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
13 Dec 2006
Intersection of two triangulated surfaces
algorithm was expanded to include calculation of the intersection surface, in addition to boolean matrix cataloging which triangle from one surface intersects with which triangle in the other surface
- 4.4K (All time)
- 4 (Last 30 days)
- 4.8 / 5
- Community
-
1 Dec 2014
It computes the intersection of two planes in space.
point that lies on the interection straight line.% N is the direction vector of the straight line% check is an integer (0:Plane 1 and Plane 2 are parallel' % 1:Plane 1
- 4.9K (All time)
- 2 (Last 30 days)
- 5.0 / 5
- Community
-
2 Apr 2011