Class: AxPrismGeometry

AxPrismGeometry(result, bottomRadius, topRadius, height, radialSegments, heightSegments, bottomCapSegmentsnon-null, topCapSegmentsnon-null)

new AxPrismGeometry(result, bottomRadius, topRadius, height, radialSegments, heightSegments, bottomCapSegmentsnon-null, topCapSegmentsnon-null)

Constructs a prism, optionally truncated, with height along the Y-Axis In terms of polygonal geomery in general, a multi-sided prism serves also as a cone
Parameters:
Name Type Description
result AxDeviceMesh The mesh to hold the prism geometry
bottomRadius Number The radius of the bottom base of the prism
topRadius Number The radius of the top base of the prism
height Number The height of the prism
radialSegments Integer The number of sides of the prism, that is the number of segments along the circumference of the prism. Must be greater than 3
heightSegments Integer The number of segments along the height of the prism
bottomCapSegments Integer The number of segments of the bottom base of the prism. If omitted or zero, no bottom base is created
topCapSegments Integer The number of segments of the top base of the prism. If omitted or zero, no top base is created
Source:

Documentation generated by JSDoc 3.5.3 on Mon Feb 19 2018 20:39:27 GMT+0200 (FLE Standard Time)