Intersection
This script implements two methods to return the intersection/union of sets of data, where the form of the data is not a limiting factor.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (53): Intersection and union of varied form tuples/lists Download |
This function returns the basis of the intersection of N subspaces defined by their bases, and the dimension of this intersection. The input basis vectors must be row vectors!Example:A = [1,1,-1,1; %
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): Intersection of linear subspaces Download |
Purpose: Range/interval intersectionA and B two ranges of closed intervals writtenas vectors [lowerbound1 upperbound1 lowerbound2 upperbound2]or as matrix[lowerbound1, lowerbound2, lowerboundn; upperbound1, upperbound2, upperboundn]A and B have to be sorted in ascending orderout is the...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): Range intersection Download |
Find the intersection points of the edges of two 2D polygons, a simple function made to follow up a Newsgroup discussion
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (45): 2D Polygon edges intersection Download |
1) plotPlanes.m- plots planes and lines in 3D defined either by directional vectors or by normal vectors.Example:A = [1 1 0;0 0 1]; Ashift = [1 1 1];B = [1 1 1]; C = [1 1 0]plotPlanes(A,'d',Ashift,B,'Normal',C)======================================2) plotIntersection.m- plots intersection of...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): Plotting planes and their intersection in 3D Download |
[xs,ys] = cint(x1,y1,x2,y2) finds intersection points of the curves defined by straight lines between the length(x1) points in the plane, (x1,y1), and the length(x2) points in the plane (x2,y2).The function essentially solvesx1(m) + t*diff(x1)(m) = x2(n) + s*diff(x2)(n);y1(m) + t*diff(y1)(m) =...
Platforms: Matlab
License: Freeware | Size: 102.4 KB | Download (45): Curve intersection Download |
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. The code is fully vectorized and it runs pretty fast (orders of magnitude) compared to some of the...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (48): Fast Line Segment Intersection (Sripts) Download |
Ray/box intersection using Smits' algorithmThe zip file includes one example of intersection.References:[1] "Efficiency issues for ray tracing". B. Smits. Journal of Graphics Tools, 3(2):1d-deOCt14, 1998.[2] "An efficient and robust ray-box intersection algorithm" A. Williams, S. Barrus, and R.K....
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 30.72 KB | Download (44): Ray/box Intersection Download |
Ray/triangle intersection using the algorithm proposed by MdoTAller and Trumbore (1997). The zip file includes one example of intersection.References:[1] "Real Time Rendering". Third Edition. Tomas Akenine-MdoTAller, Eric Haines and Naty Hoffman. A. K. Peters, Ltd. 2008 (Section 16.8)[2] "Fast,...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): Ray/Triangle Intersection Download |
This is a demo version of the programit can find teh intersection of 2 surfaces in exact values, for more details contact me at my email use the file named master
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (45): Surface Intersection Download |
Unicode::Regex::Set is a subtraction and intersection of Character Sets in Unicode Regular Expressions. SYNOPSIS use Unicode::Regex::Set qw(parse); $regex = parse([p{Latin} & p{L&} - A-Z]); Perl 5.8.0 misses subtraction and intersection of characters, which is described in Unicode Regular...
Platforms: *nix
License: Freeware | Size: 5.12 KB | Download (94): Unicode::Regex::Set Download |
An add-on for AUTOCAD 2002-2018 or BricsCAD V15-V17, which determines the intersection curves between 2 sets consisting of 3DFACE, 3DSOLID or 3DMESH entities. The outcome is represented by 3DPOLY entities. It can also generate 3DFACE entities, perpendicular to a POLYLINE for obtain cross...
Platforms: Windows, Windows 8, Windows 7, Windows Server
License: Shareware | Cost: $26.00 USD | Size: 613 KB | Download (130): 3DINTERSECTION for AutoCAD Download |
There are two models in this submission.1. trafficpatterns - a simple model of vehicular traffic on four roads all leading to an intersection controlled by a traffic light. It turns green for each of the four paths with specified durations. Tweak the traffic light durations to study how much...
Platforms: Matlab
License: Freeware | Size: 174.08 KB | Download (46): Vehicle Traffic Patterns at an Intersection (SimEvents) Download |
Intersection of two sets of positive integers (works much faster than built-in intersect)
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (42): intersect sets Download |
This function shall be used to evaluate the union or intersection between fuzzy sets or fuzzy relation under type2 category.For a complete understanding Please refer book by Dr. Jerry M. Mendel on:Uncertain Rule-Based Fuzzy Logic Systems:Introduction and New Directions
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (50): type2_union_or_intersection Download |
Compute the overlap volume between 2 spheres defined in an array.Computation is vectorized, and intersection volume are computed ananalytical way.Input: spheres data presented in an array G of four columns. G contains parameters of the n spheres . G(1:n,1) - x-coordinate of the center of spheres,...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (45): Analytical intersection volume between two spheres Download |
NUMREGPOLY Number of Intersection Points and Regions Made By The Diagonals of a Regular Polygon [A,B,I,R]=numregpoly(N) for integer n returns the following: A: Vector of number of points inside the regular n-gon other than the center where exactly k lines meet B: Vector of number of k-tuples of...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (45): Number of Intersections Regular Polygon Download |
Calculation of intersection segment between a plane (defined with a point p0 that lies on the plane and a normal vector n of that plane) and a triangle (defined with its vertices P1, P2 and P3)N : Normal to plane , |N| = 1, N->(nx3)Q : Point into the plane, Q->(nx3)P1,P2,P3 : Triangle vertices,...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 20.48 KB | Download (44): IntersectPlaneTriangle mex Download |
Intersection of a plane with an arbitrary surface data. The surface must be in the form of faces and vertices strcture such as patch function and the faces of the surface must be defined with triangles. fv =fv = faces: [number of faces x 3 double] vertices: [number of vertices x 3 double]"p0" and...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 30.72 KB | Download (44): intersectPlaneSurf II Download |
MathEasy Centroid allows you to compute the center of mass which is formed by the intersection of f(x) and g(X) between a given interval. It shows the image of the plate and the mid point (centroid) with a small circle along with its coordinates. It computes the centroid to near accuracy....
Platforms: Any Browser + Java
License: Freeware | Size: 30 KB | Download (264): MathEasy Centroid Download |