Polygon
SpriteHelper is a comprehensive and efficient tool which brings you a texture editor and a polygon shape creator for Box2D (multiple ports) and Chipmunk Physic Engines. It automatically selects the outline of your sprites and saves the information for you, like uv, sprite position in image,...
Platforms: Mac
License: Freeware | Size: 614.4 KB | Download (52): SpriteHelperFree Download |
SharpConstruct is a 3D modeling program that paint depths on to polygon models in real-time. Unlike traditional modeling programs, SharpConstruct makes it easy to model organic shapes. There is no need to even look at a wireframe (unless you want to). Instead, the model is manipulated much like...
Platforms: Windows, *nix, C/C++,
License: Freeware | Download (64): SharpConstruct 0.12RC3 Download |
Intended for 3D geological/geophysical visualisation of layered data and will eventually form part of a geophysical visualisation package.Run ThreedDemo to get an idea of how to use. INPUTS: LayerN: The number of the layer to be plotted R: a m*n*k matrix of colour/resistivity data for each layer...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (49): Surf3D Download |
(1) CubicBezier1.m : Evaluates Cubic Bezier Curve for given four Control Points and interval.(2) PlotBezier1.m : Plots Bezier Curve, Control Points, Control Polygon(3) TestCircleApproxByCubicBezier.m : Test Program. Pass Control Points that approximate unit radius circle using cubic Beizer...
Platforms: Matlab
License: Freeware | Size: 122.88 KB | Download (47): Approximation of Circle Using Cubic Bezier Curve Download |
This is Brand new so please advise-me if problems occurs.Here you can find an m-file with three different algorithms for inpolygon test.Depending on the input data, the one that is extimate to be the best will be chosen.This version do not support the onpolygon output so tollerance is not...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (41): IN POLYGON TEST FOR CONVEX POLYGON Download |
Let d < N be a positive integer and define p = N/d. Let y_{1} be a point on the unit circle. Let R be clockwise rotation by the angle t = 2*pi/p. The generalized regular polygon {p} is given by the points y_{i+1} = R * y_{i}, and edges between points i and i+1.Example:polygon(9, 4, 1);
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (45): Regular Polygons Download |
In large scale mapping projects with numerous satellite images, it is useful to have a vector file depicting the boundary of the images. This script when run from the folder containing the images, it automatically detects the geotiffs and extracts their image area boundary and constructs a...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (49): GeoTiff PathRow Download |
discintersect: to caculate the intsection between 2 discpolydiscint: to caculate the intsection between disc and polygonplotdisc: to plot the disc in 3D
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (39): Caculate the intsection between 2 discs or disc with polygon Download |
ReadImageJROI - FUNCTION Read an ImageJ ROI into a MATLAB structureUsage:[sROI] = ReadImageJROI(strFilename)[cvsROIs] = ReadImageJROI(cstrFilenames)[cvsROIs] = ReadImageJROI(strROIArchiveFilename)This function reads the ImageJ binary ROI file format.'strFilename' is the full path to a '.roi'...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (39): Import ImageJ ROIs Download |
This functions goal is to find a polygon which enclosures a user supplied mask. It's a kind of a complementary of Matlab poly2mask function. The difference is that all contour points are returned- without missing points for linearly related points. In order to get a 100% complementary of...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): mask2poly Download |
This function PATCHT, will show a triangulated mesh like Matlab function Patch but then with a texture. patcht(FF,VV,TF,VT,I,Options); inputs, FF : Face list 3 x N with vertex indices VV : Vertices 3 x M TF : Texture list 3 x N with texture vertex indices VT : Texture Coordinates s 2 x K, range...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 184.32 KB | Download (40): Texture Patch Download |
calculates surface area A and its standard uncertainty uA for any arbitrary polygon in a plane given by coordinates x and y and their respective standard uncertainties ux and uy. The inputs are assumed to be VECTORS, x, ux, y and uy all should have the same size. The uncertainties are assumed to...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (47): determine surface area and uncertainty from points in a plane Download |
A function which gives the area of a 3D planar polygon which does not lie in the x-y plane.AREA3D(X,Y,Z) calculates the area of a polygon in space formed by vertices with coordinate vectors X,Y and Z. If the coordinates of vertex v_i are x_i, i and z_i twice the area of a polygon is given by:2...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (42): area3D Download |
When interpolating on a given data set, convhull is used to set the boundaries of the interpolation area. Because convhull only minimizes the outline length, there might be interpolation lines which are unwanted (see figure).hullfit tries to minimze the polygon area instead resulting in a hull...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 20.48 KB | Download (43): hullfit Download |
Accepts a list of x and y coordinates. First, we find the smallest circumscribing polygon from this list (convhull). Finally, we use this polygon's coordinates to find the smallest circumscribing circle. We find the circle by minimizing the distance of the circle center to the polygon's...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (39): circum circle Download |
This function tries to improve the slow Matlab INPOLYGON function.There are few other fast codes on FEX (e.g., by Darren Engwirda). After exploring many different ways, I come to the conclusion that Darren Engwirda's approach is close to optimal. So here you'll find a general method that share...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (46): 2D polygon interior detection Download |
Read and Write Wavefront OBJ geometry and MTL files.A Wavefront Geometry Object file is supported by many 3D programs, it looks like:v 0.000000 2.000000 0.000000v 0.000000 0.000000 0.000000v 2.000000 0.000000 0.000000v 2.000000 2.000000 0.000000% Vertices Coordinates 4f 1 2 3 4% Faces 1The...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 204.8 KB | Download (53): Wavefront OBJ toolbox 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 |
This is a mex wrapper for Angus Johnson's Clipper library: http://www.angusj.com/delphi/clipper.php, based on Sebastian HdoTAlz's mex wrapper for the GPC library. This library has some speed advantages over GPC, but the primary addition is the ability to offset polygons. In order to use this, you...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): Polygon Clipping and Offsetting Download |
This function Showvol, is a small GUI to render a Phong shaded Iso Surface of volume data, it contains 3 render functions (see screenshot).- Phong Shaded Isosurface polygon mesh which can be rotated and zoomed- 3D Slice View- Fast preview, phong shaded Iso surface render to image (only x,y and z...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 6.92 MB | Download (43): Showvol Isosurface Render Download |