Global namespace object
- Source:
- /var/www/html/software/raphael3d/raphael3d.src.js, line 41
Classes
Namespaces
Methods
-
<static> AxesCross(x, y, z, dx, dy, dz, paper, edgeAttrs) → {Object}
-
Function returning axes cross
Parameters:
Name Type Argument Description xnumber x coordinate ynumber y coordinate znumber z coordinate dxnumber x lenght dynumber y lenght dznumber z lenght paperRaphael.Paper edgeAttrsObject <optional>
attrs of created edges - Source:
- /var/www/html/software/raphael3d/raphael3d.src.js, line 3040
Returns:
{vertices,edges} array of newly created vertices and edges- Type
- Object
-
<static> readObjFile(url, faceAttrs, edgeAttrs) → {Raphael3d.Surface}
-
Function to read obj file to create surface. Lines starting with '#' are comments, 'v x y x' lines (starting with 'v' char) are vertices with coordinates and 'f i j k' lines (starting with 'f' char) are faces with vertices indices (numbering from 1). See http://mech.fsv.cvut.cz:~/stransky/software/raphael3d/teapot.obj
Parameters:
Name Type Argument Description urlstring url of the file faceAttrsObject <optional>
face attrs edgeAttrsObject <optional>
edge attrs - Source:
- /var/www/html/software/raphael3d/raphael3d.src.js, line 2997
Returns:
- Type
- Raphael3d.Surface