# 2,463 results

### Curve intersections

Version 1.5.0.0

by

Fast computation of intersections and self-intersections of curves using vectorization.

While a few other functions already exist in FEX that compute the intersection points of curves, this short piece of code was written with speed being the highest priority. No loops are used

### Fast and Robust Curve Intersections

Version 3.0.0.0

by

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

### Surface Intersection

Version 1.0.0.0

by

Intersection of two triangulated surfaces

Function calculates intersection of any two triangulated surfaces using triangle/triangle intersection algorithm proposed by Tomas Möller (1997) and implemented as highly vectorized MATLAB code. The

### interparc

Version 1.3.0.0

by

Distance based interpolation along a general curve in space

A common request is to interpolate a set of points at fixed distances along some curve in space (2 or more dimensions.) The user typically has a set of points along a curve, some of which are closely

### Analyze N-dimensional Convex Polyhedra

Version 1.9.0.2

by

Find vertex or (in)equality forms of convex polyhedra in R^n (for n not super large). Also, compute their intersections and unions.

column vectors, respectively. The (in)equality representation expresses the polyhedron as the intersection of two regions. One region is a solid N-dimensional shape, described by the inequalities, while

### Fast and Robust Self-Intersections

Version 1.0.0.0

by

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

### distance2curve

Version 1.1.0.0

by

Find the closest point on a (n-dimensional) curve to any given point or set of points

I've seen many people ask for a way to find the closest point on a curve from some given point in space. If the curve is a piecewise linear one, this is not too difficult, since this reduces to

### Curvature of a 1D curve in a 2D or 3D space

Version 1.2.8

by

Calculates the local radius of curvature as well as the cumulative arc length and the curvature vector along a 1D curve in 2D or 3D space

the curve. The curvature is defined as . The curvature vector is , where is the unit vector in the direction from to the center of the circle.Note that this local calculation is sensitive to noise

### Curve Intersect 2

Version 1.0.0.0

by

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

### straight line and plane intersection

Version 1.0.0.0

by

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

### Intersections of multiple 2D lines or line segments

Version 1.0.1

by

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

### Triangle/Ray Intersection

Version 1.7

by

Fast vectorized triangle/ray intersection algorithm

Ray/triangle intersection using the algorithm proposed by Möller and Trumbore (1997), implemented as highly vectorized MATLAB code. The algorithm can work with one and two sided surfaces, as well as

### Vehicle Dynamics GUI

Version 1.0

by

This is a Graphical User Interface to calculate the Yaw Moment Diagram and Phase Portrait of a vehicle based on the bicycle model.

### Fill Between Area Curve

Version 1.0

by

The Fill Between Area Curve creates a shaded area between two data series, effectively highlighting the region of overlap or difference.

Fill Between Area Curve Version 1.0DescriptionThe Fill Between Area Curve creates a shaded area between two data series, effectively highlighting the region of overlap or difference.DependenciesFor

### Shade area between two curves

Version 1.1.0.0

by

Function shades the area between two vectors.

### Multiple curve and line intersection.

Version 1.0.11

by

many line and curve intersection.

easy to use for any type of line and curve intersection with example.

### Fast Line Segment Intersection

Version 1.1.0.0

by

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

### plane intersection

Version 1.1.0.0

by

It computes the intersection of two planes in space.

and Plane 2 coincide% 2:Plane 1 and Plane 2 intersect)% Example:% Determine the intersection of these two planes:% 2x - 5y + 3z = 12 and 3x + 4y - 3z = 6% The first plane is

### Plotting intersection curves for implicit surfaces

Version 1.0.0.0

by

Plot intersection curves for implicit surfaces

Implicit surfaces can be plotted with the isosurface function, but to my knowledge there is no function for plotting the intersection curve between two implicit surfaces. The isocurve3 function

### MINTERSECT -- Multiple set intersection.

Version 1.0.0.0

by

A generalization of INTERSECT to handle multiple inputs.

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

Version 1.5.0.0

by

Fast mesh-mesh intersection based on ray-tri solution. Octree partitioning gives large speed-up.

% Putative points of intersection between each pair of surfaces are located% by assuming that each constituent mesh triangle edge represents an% infinitesimal ray, then solving the ray-triangle

### matGeom

Version 1.2.8

by

A collection of functions for 2D and 3D geometric computing.

### gaussian curve fit

Version 1.0.0.0

by

gaussian curve fit

### Parallel Curves

Version 1.1.0.0

by

Generates the outer and inner parallel curves in rectangular coordinates.

Simple program to generate the inner and outer parallel curves in rectangular coordinates. inner parallel is toward the center of curvature and outer parallel is away from the center of curvature

### Intersection of Line to Generalized Ellipse

Version 1.0.0.0

by

This function returns the points of intersection between a line and a generalized ellipse

### arclength

Version 1.0.0.0

by

Compute the arclength of a general curve in any number of dimensions

The arclength function computes the length of a general space curve. This is not too difficult if the curve is assumed to be piecewise linear (a one liner) but if the curve is to be a smoothly

### Range intersection

Version 1.10.0.0

by

Mathematical intersection of range composed of a union of intervals

Purpose: Range/interval intersectionA and B two ranges of closed intervals written as vectors [lowerbound1 upperbound1 lowerbound2 upperbound2] or as matrix [lowerbound1, lowerbound2, lowerboundn

### Hilbert Curve

Version 1.0.0.0

by

How to draw the famous Hilbert curve, the curve that fills an area.

This recursive function calculates coordinates of n-th order Hilbert curve. It is then possible to plot it using the "line" command.

### Generalised bezier curve matlab code

Version 1.2.0.0

by

Takes n point inputs through cursor or kerboard ,plots a bezier curve using them as control points

Presenting the one and only Generalised Bezier curve !!!! Yes folks Matlab code for n points , this program will plot the Bezier curve for any number of points be it 2 or 3 or even 100 or more points

### 3D curves

Version 1.0.0.0

by

Examples of 3D curves described in Chapter 7 of the book: "CRC Standard Curves and Surfaces"

Examples of Three dimensional curves described in Chapter 7 ofthe book: "CRC Standard Curves and Surfaces" by David von Seggern (1993).The zip file includes the following curves:a) Helical curves

### Bezier Curve Plotter

Version 1.0.0.0

by

constructs a Bezier curve using a given set of control points

This is a simple program that constructs a Bezier curve using a given number of control points. Besides, it also plots the corresponding characteristic polygon.

### Planes intersection [FAST]

Version 2.3

by

A function to compute the intersection between two planes of the 3D space.

Please first check the examples tab (.mlx file) here on the right for a complete description.Once downloaded, typewrite 'help planes_intersection' or 'doc planes_intersection' in Matlab console for

### Finding zeros and intersections

Version 1.0.0.0

by

With data (x,y), the function finds "x" that correspond to y=y0.

### Koch curve

Version 1.0.0.0

by

Interface for generating the Koch curve

Application for generating the Koch curve (or Koch snowflake) fractal by selecting the number of iterations. Just unzip and run the Koch_curve_GUI.m file.

### Line-Line Intersection (2d)

Version 1.0.0.0

by

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&amp;2 and 3&amp;4 specify a line.Gives back NaN or Inf/-Inf if lines are parallel (=

### Line plane intersection [FAST]

Version 2.4

by

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

### Curves as Fractals v1.1

Version 1.0.0.0

by

Generating curves in a fractal way

Program for generating curves (Bezier, Chaikin) in a fractal way. Moreover program can draw every shape described with help of Bezier or Chaikins curves. To run this program just type "curves" and

### EwingKang/Dubins-Curve-For-MATLAB

Version 1.0.0.0

by

A MATLAB version of Dubins' Curve based on Andrew Walker's work

A MATLAB version of Dubins Curve based on Andrew Walker's workA Dubin's curve is a nearly kinemetically feasible path solution for car-like platform. The method explicitly find the trajectory

### polypredci

Version 1.0.0.0

by

POLYPREDCI calculates prediction intervals for ‘polyfit’ and ‘polyval’ curve fits.

POLYPREDCI takes the actual (x,y) data and polynomial order as arguments, uses ‘polyfit’ and ‘polyval’ to do the regression, then calculates and returns the fitted curve and the one-sided prediction

### Cone-plane intersection

Version 1.1.0.0

by

Compute the intersection of a cone and a plane, where the result is represented as an ellipse

This function computes the intersection of a cone and a plane, where the result is represented either as an ellipse or in the form of a Gaussian distribution.This algorithm can be used to extract

### Colored Area on a Curved Surface

Version 1.0.0.0

by

Measure area with a certain color on top of a curved surface.

In material science curved surfaces may be heated due to study thermal flow.Here a simple image is projected on top of the peaks surface and the red are is measured in square pixels. Deaunay is used

### stringart

Version 1.0.1

by

Stringart: Play with geometry and Bézier's quadratic curve

different angles and metric positions at which strings intersect gives the appearance of Bézier curves (as in the mathematical concept of envelope of a family of straight lines). Quadratic Bézier curve are

### Corneal Topography: Constructing Curvature Topography from Placido Rings Image

Version 1.0.0.0

by

Corneal Topography: Constructing Curvature Topography from Placido Rings Image

Version 1.0.0.0

by

/

### Precision-Recall and ROC Curves

Version 1.2.0.0

by

Calculate and plot P/R and ROC curves for binary classification tasks.

trade-off recall (=true positive rate) versus false positive rate (resp. precision). Depending on the relative class frequencies, ROC and P/R curves can highlight different properties; for details, see e.g

### geom2d

Version 1.25

by

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

Version 1.01

by

Toolbox for simple design of 3D objects and import them in a CAD files.

### Matgraph

Version 1.0.0.0

by

Toolbox for working with simple, undirected graphs

### gibbonCode/GIBBON

Version 3.5.0

by

GIBBON: The Geometry and Image-Based Bioengineering add-ON for MATLAB

### Hardware accelerated ray-triangle intersection

Version 1.2.0.0

by

GPU portable implementation of the ray-triangle intersection method of Moller and Trumbore (1997)

% Ray-triangle intersection algorithm of Muller and Trumbore (1997)% formatted for arrayfun to allow hardware acceleration% Call with gpuarray and arrayfun to execute on the GPU: thjs% may give two

### EzyFit 2.44

Version 2.44.0.0

by

A free curve fitting toolbox for Matlab

The Ezyfit toolbox for Matlab enables you to perform simple curve fitting of one-dimensional data using arbitrary (non linear) fitting functions.EzyFit adds a new menu to your figure windows, which

### Multiple curve fitting with common parameters using NLINFIT

Version 1.1.0.0

by

Wrapper for NLINFIT which allows simultaneous fitting for multiple data sets with shared parameters.

### Johnson Curve Toolbox

Version 1.5.0.0

by

Fit a Johnson distribution to non-normal data

JOHNSON CURVE TOOLBOX FOR MATLABby David L. Jones, PhDJohnson (1949) developed a flexible system of distributions, based on three families of transformations, that translate an observed, non-normal

### PHYSVIS Toolbox

Version 1.0.0.0

by

Visualize physics with simple graphics commands using MATLAB

### Uniform Manifold Approximation and Projection (UMAP)

Version 4.4

by

An algorithm for manifold learning and dimension reduction.

### Intersection Arbitrary Ellipsoid and a Plane

Version 1.0.0.5

by

This function computes the intersection any Ellipsoid and a Plane,

Arbitrary ELIPSOID and A PLANE INTERSECTION function[Aye,Bye,qx,qy,qz]=intersection_elipsoid_plane2(elp,plane) % Plane equation AA.x + BB.y + CC.z+ DD = 0% Standart Ellipsoid equation

### ROC curve

Version 2.0.0.0

by

compute a ROC curve

you will put only 1 or 0 (i.e. 1 if the subject is diabetic; 0 if he/she is healthy).Run rocdemo to see an exampleThe function computes and plots the classical ROC curve and curves for Sensitivity

### mesh processing toolbox

Version 3.2

by

Some useful tools for mesh processing

### scGEAToolbox (single-cell Gene Expression Analysis Toolbox)

Version 24.4.8

by

Single-cell Gene Expression Analysis Toolbox

### affineSpaceIntersection - Intersection of lines/planes/volumes/etc.

Version 1.1.0.0

by

Compute intersections of lines, planes, volumes, etc. in arbitrary dimensions.