image thumbnail

updated 1 month ago

geom2d by David Legland

David Legland (view profile)

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

Demo Medial Axis

Draw Poisson lines

demoExpandPolygon

image thumbnail

updated 2 months ago

mpoly2mask - convert multiple polygons to a mask by Sven

Sven (view profile)

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

mpoly2mask(XY, varargin)

image thumbnail

updated 3 months ago

affineSpaceIntersection - Intersection of lines/planes/volumes/etc. by Josef

Josef (view profile)

Compute intersections of lines, planes, volumes, etc. in arbitrary dimensions. (geometry, plane intersection, plane)

image thumbnail

updated 5 months ago

Fast mesh-mesh intersection using ray-tri intersection with octree spatial partitioning. by Thomas

Fast mesh-mesh intersection based on ray-tri solution. Octree partitioning gives large speed-up. (triangular mesh, delaunay, intersection)

fastMesh2Mesh.m

mesh2mesh(facesInA, pointsInA, facesInB, pointsInB)

octMesh(facesA, pointsA, facesB, pointsB, octs)

image thumbnail

updated 5 months ago

Fast shortest distance between two line segments (in N dimensions) by Ondrej

Ondrej (view profile)

Shortest distance between two line segments in N dimensions (distance, geometry, intersection)

distLinSeg(point1s,point1e,point2s,point2e)

image thumbnail

updated 7 months ago

Surface Intersection by Jaroslaw Tuszynski

Intersection of two triangulated surfaces (mesh, surface, intersection)

Tutorial for SurfaceIntersection Function

SurfaceIntersection.m

image thumbnail

updated 7 months ago

Computational Geometry Toolbox by George Papazafeiropoulos

Convex hull, mesh generation, Delaunay triangulation, Voronoi diagram and other algorithms. (bounding box, concave, convex)

Bounding box of a random point set in 2-dimensional space

Bounding box of a random point set in 3-dimensional space

Bounding box of a random point set in 4-dimensional space

image thumbnail

updated 8 months ago

intersectPlaneSurf by Mehmet OZTURK

Mehmet OZTURK (view profile)

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

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

example.m

image thumbnail

updated 8 months ago

IntersectPlaneTriangle mex by Mehmet OZTURK

Mehmet OZTURK (view profile)

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

example.m

image thumbnail

updated 8 months ago

intersectPlaneSurf II by Mehmet OZTURK

Mehmet OZTURK (view profile)

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

intersectPlaneSurf.m

image thumbnail

updated 9 months 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 1 year ago

Intersection of Line to Generalized Ellipse by Paurakh

Paurakh (view profile)

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 1 year ago

Shortest distance between two line segments by Nick

Nick (view profile)

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

DistBetween2Segment(p1, p2, p3, p4)

image thumbnail

updated 2 years 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 almost 3 years ago

Triangle Triangle Contact by David Johnson

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

triTriContact( t1, t2 )

image thumbnail

updated 3 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 3 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 3 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 3 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 almost 4 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 almost 4 years ago

Intersection of linear subspaces by Ondrej

Ondrej (view profile)

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

findIntersect(varargin)

image thumbnail

updated almost 4 years ago

Plotting planes and their intersection in 3D by Ondrej

Ondrej (view profile)

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 4 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 4 years ago

plane intersection by Nassim Khaled

Nassim Khaled (view profile)

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 4 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 4 years ago

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

Michael Chan (view profile)

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 almost 5 years ago

Curve intersections by NS

NS (view profile)

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

InterX(L1,varargin)

image thumbnail

updated 5 years ago

2D Polygon edges intersection by Bruno Luong

Bruno Luong (view profile)

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

isintersect(P1, P2)

poly2poly(P1, P2)

image thumbnail

updated 5 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 5 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 5 years ago

Intersection of three spheres by Hrishi Shah

Hrishi Shah (view profile)

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 almost 6 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 almost 6 years ago

Fast Quadrilateral Intersection by Russell

Russell (view profile)

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

fastRectInt(r1, r2)

polyLong2PolyShort(polyLong)

image thumbnail

updated almost 6 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 almost 6 years ago

Intersect several arrays by Julia

Julia (view profile)

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

intersect_several (varargin)

image thumbnail

updated 6 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 6 years ago

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

Kenneth Eaton (view profile)

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 7 years ago

Intersect2 by Suri Like

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

image thumbnail

updated almost 8 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 almost 8 years ago

areaintersection.m by paul

paul (view profile)

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

image thumbnail

updated 8 years ago

meetpoint by M MA

M MA (view profile)

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

meetpoint(x0,y0,x1,y1)

image thumbnail

updated 8 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 9 years ago

gclabel by M MA

M MA (view profile)

Guided contour labels (annotation, customization, clabel)

gclabel(what,filename)

image thumbnail

updated almost 10 years ago

Surface Intersection by Amr Ali

Amr Ali (view profile)

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

image thumbnail

updated 10 years ago

MINTERSECT -- Multiple set intersection. by David Fass

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

image thumbnail

updated 11 years ago

Find Polynomial Intersections by Alister Fong

Alister Fong (view profile)

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

...

test_solve_polynomials

image thumbnail

updated 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