-
-
Notifications
You must be signed in to change notification settings - Fork 81
ShapeFactory Cylinder
Victofel edited this page Dec 19, 2016
·
2 revisions
###ShapeFactory.makeCylinder()### Creates a cylinder
Parameters:
- Vertical Cylinder by Radius and Height: r, h
- Vertical Cylinder by Origin point, Radius and Height: pt, r, h
- Cylinder by 2 Points and Radius: pt1, pt2, r
Examples:
occ.makeCylinder(3,10);
occ.makeCylinder([0,0,0],3,10);
occ.makeCylinder([0,0,0],[0,0,10],3);