image thumbnail

updated 1 month ago

geom3d by David Legland

Library to handle 3D geometric primitives: create, intersect, display, and make basic computations (geometry, 3d, geometric computing)

demoDrawTubularMesh

demoGeom3d

demoInertiaEllipsoid

image thumbnail

updated 5 months ago

inpolyhedron - are points inside a triangulated volume? by Sven

Test if 3d points are inside a mesh. Or, voxelise a mask from a surface. Mesh can be non-convex too! (inpolygon, stl, mesh)

inpolyhedron(varargin)

image thumbnail

updated 6 months ago

Representing Polyhedral Convex Hulls by Vertices or (In)Equalities by Matt J

Express bounded polyhedron via equalities/inequalities or vertices. (vert2con, polyhedron, polytope)

[A,b,Aeq,beq]=vert2lcon(V,tol)

[V,nr,nre]=lcon2vert(A,b,Aeq,beq,TOL,checkbounds)

[varargout]=qlcon2vert(x0,varargin)

image thumbnail

updated 2 years ago

Chebyshev Center and Radius by Tim Benham

Computes the Chebyshev center and Chebyshev radius of a polytope. (polytope, polyhedron, chebyshev center)

chebycenter(A,b)

image thumbnail

updated 2 years ago

Points On Line by Ankur Pawar

Linearly spaced points between two point and ,point in Convex Hull test. (points on line, line, 2d)

[inHullPoints,inPointsIndex]=inConvHull(vert,face,testPoi...

points=pointsOnLine(point1,point2,numPoints)

sphericalDodecahedron

image thumbnail

updated 2 years ago

Analytic Center by Tim Benham

Computes the analytic center of a set of linear equations. (polytope, linear equations, analytic center)

ancenter(A,b)

image thumbnail

updated 4 years ago

Plot 2D/3D region by Per Bergström

The program plots convex closed regions in 2D/3D. (specialized, plotting, plot)

plotregion.m

example1.m

example2.m

image thumbnail

updated 5 years ago

Polytopes by Bill McKeeman

Display regular and semi regular geometric figures. (gallery, ndimensional, polygon)

N-D Geometrical Figures

angles(e)

buckytumble

image thumbnail

updated 6 years ago

Make Icosahedron by Edward Zechmann

This program makes icosahedra of class 1, type 2, and frequency f. (icosahedron, polyhedron, dome)

[ x, y, z, TRI]=make_icosahedron(f, r, sphere, make_plot,...

[TRI4, x4, y4, z4]=make_sphere(TRI, x, y, z)

[X1, Y1, Z1]=rotate_transform2(X, Y, Z, nv, theta)

image thumbnail

updated almost 9 years ago

Centroid of a Convex n-Dimensional Polyhedron by Michael Kleder

Computes the center of gravity of a convex polyhedron in any number of dimensions. (centroid, center, gravity)

centroid(P)

image thumbnail

updated 9 years ago

VERT2CON - vertices to constraints by Michael Kleder

Create inequality constraints to bound the convex hull of the given points. (optimization, polygon, polyhedron)

vert2con(V)

image thumbnail

updated 11 years ago

Area and volume of a 3D convex hull by Malcolm A. MacIver

Volume and area of a 3D convex hull. (surface, area, polyhedron)

[volume,area]=area3d(v)

Contact us