Skip to main content

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

NameTypeDescription
aX?numberThe X center of the ellipse. Expects a Float. Default is 0.
aY?numberThe Y center of the ellipse. Expects a Float. Default is 0.
xRadius?numberThe radius of the ellipse in the x direction. Expects a Float. Default is 1.
yRadius?numberThe radius of the ellipse in the y direction. Expects a Float. Default is 1.
aStartAngle?numberThe start angle of the curve in radians starting from the positive X axis. Default is 0.
aEndAngle?numberThe end angle of the curve in radians starting from the positive X axis. Default is 2 x Math.PI.
aClockwise?booleanWhether the ellipse is drawn clockwise. Default is false.
aRotation?numberThe 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

NameType
tnumber
optionalTargetany

Returns

Vector2

Overrides

EllipseCurve.getPoint

Defined in

webgi/src/plugins/ShapeTubeExtrudePlugin.ts:218