brepjs API Reference
GitHub
npm
Getting Started
Preparing search index...
index
rotate
Function rotate
rotate
<
T
extends
AnyShape
>
(
shape
:
Shapeable
<
T
>
,
angle
:
number
,
options
?:
RotateOptions
,
)
:
T
Rotate a shape around an axis. Angle is in degrees. Returns a new shape.
Type Parameters
T
extends
AnyShape
Parameters
shape
:
Shapeable
<
T
>
angle
:
number
Optional
options
:
RotateOptions
Returns
T
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
GitHub
npm
Getting Started
brepjs API Reference
Loading...
Rotate a shape around an axis. Angle is in degrees. Returns a new shape.