geom3d_2012.04.05
所属分类:matlab编程
开发工具:Visual C++
文件大小:348KB
下载次数:21
上传日期:2012-10-21 18:10:14
上 传 者:
giuly
说明: matlab中多种三维图形的自动生成程序源码
(matlab automatically generate a variety of three-dimensional graphics program source code)
文件列表:
geom3d (0, 2012-04-06)
geom3d\geom3d (0, 2012-04-06)
geom3d\geom3d\anglePoints3d.m (1734, 2010-08-12)
geom3d\geom3d\angles3d.m (1954, 2011-12-20)
geom3d\geom3d\angleSort3d.m (2035, 2011-03-21)
geom3d\geom3d\boundingBox3d.m (1274, 2012-04-05)
geom3d\geom3d\box3dVolume.m (639, 2012-04-05)
geom3d\geom3d\boxes3d.m (671, 2012-04-05)
geom3d\geom3d\cart2cyl.m (1505, 2008-10-14)
geom3d\geom3d\cart2sph2.m (1631, 2011-06-30)
geom3d\geom3d\cart2sph2d.m (1791, 2011-06-30)
geom3d\geom3d\changelog.txt (3738, 2011-10-14)
geom3d\geom3d\changes.txt (629, 2010-07-30)
geom3d\geom3d\circle3dOrigin.m (1013, 2011-06-22)
geom3d\geom3d\circle3dPoint.m (1307, 2011-06-22)
geom3d\geom3d\circle3dPosition.m (1423, 2011-06-30)
geom3d\geom3d\circles3d.m (913, 2011-06-22)
geom3d\geom3d\clipConvexPolygon3dHP.m (1731, 2011-08-18)
geom3d\geom3d\clipLine3d.m (2957, 2011-03-21)
geom3d\geom3d\clipPoints3d.m (1061, 2011-03-21)
geom3d\geom3d\clipPolygon3dHP.m (3508, 2011-08-18)
geom3d\geom3d\composeTransforms3d.m (931, 2011-03-21)
geom3d\geom3d\Contents.m (12055, 2012-04-05)
geom3d\geom3d\createBasisTransform3d.m (1947, 2011-10-14)
geom3d\geom3d\createEulerAnglesRotation.m (1921, 2011-06-21)
geom3d\geom3d\createLine3d.m (4579, 2011-03-21)
geom3d\geom3d\createPlane.m (3360, 2011-05-28)
geom3d\geom3d\createRotation3dLineAngle.m (1311, 2010-08-12)
geom3d\geom3d\createRotationOx.m (1865, 2011-03-21)
geom3d\geom3d\createRotationOy.m (1969, 2011-03-21)
geom3d\geom3d\createRotationOz.m (1878, 2011-03-21)
geom3d\geom3d\createScaling3d.m (1869, 2011-03-21)
geom3d\geom3d\createSphere.m (990, 2011-03-21)
geom3d\geom3d\createTranslation3d.m (1259, 2011-03-21)
geom3d\geom3d\cyl2cart.m (1395, 2008-10-14)
geom3d\geom3d\dihedralAngle.m (1345, 2011-03-21)
geom3d\geom3d\distanceLines3d.m (1482, 2011-01-22)
geom3d\geom3d\distancePointEdge3d.m (2073, 2012-04-30)
geom3d\geom3d\distancePointLine3d.m (1018, 2012-04-30)
geom3d\geom3d\distancePointPlane.m (803, 2011-12-20)
... ...
Description of the geom3d library.
The aim of geom3d library is to handle and visualize 3D geometric primitives
such as points, lines, planes, polyhedra... It provides low-level functions
for manipulating 3D geometric primitives, making easier the development of more
complex geometric algorithms.
Some features of the library are:
- creation of various shapes (3D points, 3D lines, planes, polyhedra...)
through an intuitive syntax.
Ex: createPlane(p1, p2, p3) to create a plane through 3 points.
- derivation of new shapes: intersection between 2 planes, intersection between
a plane and a line, between a sphere and a line...
- functions for 3D polygons and polyhedra. Polyhedra use classical vertex-faces
arrays (face array contain indices of vertices), and support faces with any
number of vertices. Some basic models are provided (createOctaedron,
createCubeoctaedron...), as well as some computation (like faceNormal or
centroid)
- manipulation of planar transformation. Ex.:
ROT = createRotationOx(THETA);
P2 = transformPoint3d(P1, ROT);
- direct drawing of shapes with specialized functions. Clipping is performed
automatically for infinite shapes such as lines or rays. Ex:
drawPoint3d([50 50 25; 20 70 10], 'ro'); % draw some points
drawLine3d([X0 Y0 Z0 DX DY DZ]); % clip and draw straight line
Some functions require the geom2d package.
Additional help is provided in geom3d/Contents.m file, as well as summary files
like 'points3d.m' or 'lines3d.m'.
近期下载者:
相关文件:
收藏者: