createInFrame MethodStatic

Create a new TorusPipe

createInFrame(frame: Transform, majorRadius: number, minorRadius: number, sweep: Angle, capped: boolean): TorusPipe | undefined

Parameter Type Description
frame Transform local to world transformation
majorRadius number major hoop radius
minorRadius number minor hoop radius
sweep Angle sweep angle for major circle, with positive sweep from x axis towards y axis.
capped boolean true for circular caps

Defined in

Last Updated: 13 October, 2019