image thumbnail

updated 21 days ago

Triangle/Ray Intersection by Jaroslaw Tuszynski

Fast vectorized triangle/ray intersection algorithm (computer graphics, intersection, ray)

TriangleRayIntersection

Tutorial and tests of TriangleRayIntersection function

PointInsideVolume(point, faces, vertices)

image thumbnail

updated 4 months ago

Intersection of Line to Generalized Ellipse by Paurakh

This function returns the points of intersection between a line and a generalized ellipse (intersection, geometry)

lineEllipse(a, b, h, k, alpha, p, q )

image thumbnail

updated 5 months ago

Shortest distance between two line segments by Nick

Function computes the shortest distance between two line segments. (2d, geometry, intersection)

DistBetween2Segment(p1, p2, p3, p4)

image thumbnail

updated 6 months ago

mpoly2mask - converts multiple polygons to a mask by Sven

Converts an object with multiple boundary contours to a logical mask (poly2mask, bwboundaries, polygon)

mpoly2mask(XY, varargin)

image thumbnail

updated 7 months ago

geom2d by David Legland

Geometry library for matlab. Performs geometric computations on points, lines, circles, polygons... (geometry, computational geometr..., display)

InterX(L1,varargin)

angle2Points(varargin)

angle3Points(varargin)

image thumbnail

updated 1 year ago

Nagel Schreckenberg-based Signalized Intersection by Alexander Farley

A simulation of a 4-way signalized intersection based on the Nagel Schreckenberg model. (nagel schreckenberg i..., traffic, simulation)

Analyze.m

Intersim.m

IntersimSingleRun.m

image thumbnail

updated 2 years ago

circles - rectangle intersection area by Doron avramov

A fast function which calculate the intersection area of a circle in a large rectangle. (analytic, area, circle)

[o]=compute_circle_area2(xcenter,ycenter,r)

image thumbnail

updated 2 years ago

Triangle Triangle Contact by David Johnson

Determines whether two triangles are touching (triangle, collision, intersection)

triTriContact( t1, t2 )

image thumbnail

updated 2 years ago

Intersection point of lines in 3D space by Anders Eikenes

Finding intersection point of lines in 3D space (two or more lines). (mathematics, lines, intersection)

lineIntersect3D(PA,PB)

image thumbnail

updated 2 years ago

Range intersection by Xavier Xavier

Mathematical intersection of range composed of a union of intervals (interval, intersection)

out=range_intersection(first,second)

image thumbnail

updated 2 years ago

Compare Functions by Mathieu Boutin

Compare points between two functions (f1>f2, f1<f2, f1==f2), by first finding intersection points. (compare, intersection, functions comparison)

compareFunctions(v_x,v_f1,v_f2)

test_compareFunctions.m

image thumbnail

updated 2 years ago

Segments Intersection Test Functions by Francesco Montorsi

Functions that count the intersections among 2-D segments. Special cases are accounted for. (segment, 2d, intersection)

test_segments_intersect

image thumbnail

updated 3 years ago

Fast Parsing of Line Segments in a BW Mask by Jonathan Sullivan

Quickly determines the portions of a line/curve that are inside and outside of a binary mask. (polygon, mask2poly, poly2mask)

lineinmask(varargin)

image thumbnail

updated 3 years ago

intersectPlaneSurf II by Mehmet OZTURK

Intersection of a plane with an arbitrary surface (intersection, plane, surface)

intersectPlaneSurf.m

image thumbnail

updated 3 years ago

IntersectPlaneTriangle mex by Mehmet OZTURK

Calculation of intersection between a plane and a triangle (intersection, plane, triangle)

example.m

image thumbnail

updated 3 years ago

Intersection of linear subspaces by Ondrej

Function for finding the basis of the intersection of N subspaces (intersection, subspace, linear algebra)

findIntersect(varargin)

image thumbnail

updated 3 years ago

Plotting planes and their intersection in 3D by Ondrej

Function 'plotPlanes' plots planes/lines in 3D; 'plotIntersection' plots intersection of the planes. (planes, intersection, linear algebra)

findIntersect(varargin)

ismatrix(a)

plotIntersection(varargin)

image thumbnail

updated 3 years ago

The function, find_intersection by Oznur Mete

The function gets the x and y components of two data sets and finds the intersection point. (intersection, great)

find_intersection(ax,a,bx,b,confidence)

image thumbnail

updated 3 years ago

plane intersection by Nassim Khaled

It computes the intersection of two planes in space. (plane intersection, straight line, 3d)

[P,N,check]=plane_intersect(N1,A1,N2,A2)

image thumbnail

updated 3 years ago

Shortest Distance Between Two Lines in N dimensions by Alexander Brodsky

Function calculates shortest distance between two lines presented by two points for each line. (2d, 3d, intersection)

[dist Pc Qc]=distBW2lines(L1,L2)

image thumbnail

updated almost 4 years ago

Sampling Of 2D Geometrical Object via Line Beams by Michael Chan

Illustrates coordinated sampling of a geometrical shape such as an eclipse is used in this case. (image processing, project, beam)

calculateEllipse(x, y, a, b, angle, steps)

deg2rad( inDegrees )

getPointsBetween2Points (startp,endp,pts)

image thumbnail

updated 4 years ago

Curve intersections by NS

Fast computation of intersections and self-intersections of curves using vectorization. (curves, intersections, polygons)

InterX(L1,varargin)

image thumbnail

updated 4 years ago

2D Polygon edges intersection by Bruno Luong

Find the intersection points of the edges of two 2D polygons (geometry, polygon, intersection)

isintersect(P1, P2)

poly2poly(P1, P2)

image thumbnail

updated 4 years ago

Fast Line Segment Intersection by U. Murat Erdem

Finds the pairwise intersection points between line segments in 2D Cartesian space. (intersection, line, segment)

lineSegmentIntersect(XY1,XY2)

testIntersections.m

image thumbnail

updated 4 years ago

Ray/box Intersection by Jesús P. Mena-Chalco

Ray/box intersection using Smits' algorithm. The zip file includes one example of intersection. (ray, box, intersection)

rayBoxIntersection(origin, direction, vmin, vmax)

test.m

image thumbnail

updated almost 5 years ago

Intersection of three spheres by Hrishi Shah

Find intersection of three spheres given their centers and radii (intersection, spheres, geometry)

handle=plotsphere(X,r,color)

result=interx(X1,X2,X3,r1,r2,r3,pos)

test.m

image thumbnail

updated 5 years ago

intersectPlaneSurf by Mehmet OZTURK

Intersection points of an arbitrary surface with an arbitrary plane. (plane, intersection, contour)

out=intersectPlaneSurf(p0, v, exx, eyy, ezz)

example.m

image thumbnail

updated 5 years ago

Analytical intersection volume between two spheres by Guillaume JACQUENOT

Compute the overlap volume between 2 spheres defined in an array (analytical, intersection, volume)

volume_intersect_sphere_analytical(varargin)

image thumbnail

updated 5 years ago

Fast Quadrilateral Intersection by Russell

Computes the intersecting area of two arbitrary quadrilaterals. (quadrilateral, intersection, polygon)

fastRectInt(r1, r2)

polyLong2PolyShort(polyLong)

image thumbnail

updated 5 years ago

Ray/Triangle Intersection by Jesús P. Mena-Chalco

Ray/triangle intersection using the algorithm proposed by Möller and Trumbore (1997) (ray, triangle, intersection)

rayTriangleIntersection (o, d, p0, p1, p2)

test.m

image thumbnail

updated 5 years ago

Intersect several arrays by Julia

Uses Matlab standard intersect function recursively to return the intersection of several arrays. (matrix, intersect, intersection)

intersect_several (varargin)

image thumbnail

updated 5 years ago

Polygon_Intersection by Guillaume JACQUENOT

This function computes n-times intersection region of shapes collection (specialized, plotting, intersection)

Polygons_intersection.m

Polygons_intersection_Compute_area(S)

Polygons_intersection_Create_combination(M)

image thumbnail

updated almost 6 years ago

"boundary" class v2.1: a wrapper for surface objects by Kenneth Eaton

Adds functionality for fast detection of intersections between line segments and rendered surfaces (plotting, boundary, surface)

boundary(hObject,varargin)

delete(boundaryObject)

format_param_list(paramList,nObjects)

image thumbnail

updated 6 years ago

Intersect2 by Suri Like

Finds the intersection (common elements) of several (more than two) arrays (intersection, common, intersect)

image thumbnail

updated 7 years ago

Analytical intersection area between two circles by Guillaume JACQUENOT

Compute the intersection area between 2 circles. The function allows to evaluate the intersection ar (circle, intersection, area)

area_intersect_circle_analytical(varargin)

image thumbnail

updated 7 years ago

areaintersection.m by paul

Approximates the area of intersection of two polygons (approximation, interpolation, polygon)

image thumbnail

updated 7 years ago

meetpoint by M MA

Meet points points and slopes of curves. (approximation, interpolation, intersection)

meetpoint(x0,y0,x1,y1)

image thumbnail

updated 7 years ago

Curve Intersect 2 by Sebastian Hölz

Finds the intersection points between two arbitrary polygons. (intersection, line, curve)

curveintersect.m

image thumbnail

updated almost 9 years ago

gclabel by M MA

Guided contour labels (annotation, customization, clabel)

gclabel(what,filename)

image thumbnail

updated 9 years ago

Surface Intersection by Amr Ali

this procedure finds the intersection betwen 2 homogenius surfaces (graphics import, graphics export, surface intersection)

image thumbnail

updated almost 10 years ago

MINTERSECT -- Multiple set intersection. by David Fass

A generalization of INTERSECT to handle multiple inputs. (intersect, set, intersection)

image thumbnail

updated almost 11 years ago

Find Polynomial Intersections by Alister Fong

Find the intersections between 2 or more polynomials. (polynomial, intersection, solve)

...

test_solve_polynomials

image thumbnail

updated almost 12 years ago

type2_union_or_intersection by C. Jeganathan Pillai

In order to evaluate union or intersection operation under type2. (fuzzy logic, neural networks, type2)

Contact us