Class: EllipseCurve3D
Plugins.EllipseCurve3D
Hierarchy
EllipseCurve
↳
EllipseCurve3D
Constructors
constructor
• new EllipseCurve3D(aX?
, aY?
, xRadius?
, yRadius?
, aStartAngle?
, aEndAngle?
, aClockwise?
, aRotation?
)
This constructor creates a new {@link EllipseCurve}.
Parameters
Name | Type | Description |
---|---|---|
aX? | number | The X center of the ellipse. Expects a Float . Default is 0 . |
aY? | number | The Y center of the ellipse. Expects a Float . Default is 0 . |
xRadius? | number | The radius of the ellipse in the x direction. Expects a Float . Default is 1 . |
yRadius? | number | The radius of the ellipse in the y direction. Expects a Float . Default is 1 . |
aStartAngle? | number | The start angle of the curve in radians starting from the positive X axis. Default is 0 . |
aEndAngle? | number | The end angle of the curve in radians starting from the positive X axis. Default is 2 x Math.PI . |
aClockwise? | boolean | Whether the ellipse is drawn clockwise. Default is false . |
aRotation? | number | The rotation angle of the ellipse in radians, counterclockwise from the positive X axis. Default is 0 . |
Inherited from
EllipseCurve.constructor
Defined in
webgi/node_modules/@types/three/src/extras/curves/EllipseCurve.d.ts:38
Methods
getPoint
▸ getPoint(t
, optionalTarget
): Vector2
Parameters
Name | Type |
---|---|
t | number |
optionalTarget | any |
Returns
Vector2
Overrides
EllipseCurve.getPoint