Class: LineCurve2D
Hierarchy
↳
LineCurve2D
Constructors
Properties
Accessors
Methods
Constructors
constructor
• new LineCurve2D(v0
, v1
): LineCurve2D
Parameters
Name | Type |
---|---|
v0 | Vector2 |
v1 | Vector2 |
Returns
Overrides
Defined in
packages/geometry/ExtrudeGeometry/Curve/LineCurve2D.ts:8
Properties
curveType
• curveType: CurveType
Inherited from
Defined in
packages/geometry/ExtrudeGeometry/Curve/Curve2D.ts:11
v0
• v0: Vector2
Defined in
packages/geometry/ExtrudeGeometry/Curve/LineCurve2D.ts:5
v1
• v1: Vector2
Defined in
packages/geometry/ExtrudeGeometry/Curve/LineCurve2D.ts:6
Accessors
points
• get
points(): Vector2
[]
Returns
Vector2
[]
Overrides
Curve2D.points
Defined in
packages/geometry/ExtrudeGeometry/Curve/LineCurve2D.ts:15
Methods
getPoints
▸ getPoints(divisions?
): Vector2
[]
Parameters
Name | Type | Default value |
---|---|---|
divisions | number | 5 |
Returns
Vector2
[]
Inherited from
Defined in
packages/geometry/ExtrudeGeometry/Curve/Curve2D.ts:23
getPoint
▸ getPoint(t
, result?
): Vector2
Parameters
Name | Type |
---|---|
t | number |
result | Vector2 |
Returns
Vector2
Overrides
Defined in
packages/geometry/ExtrudeGeometry/Curve/LineCurve2D.ts:19
getPointAt
▸ getPointAt(u
, result?
): Vector2
Parameters
Name | Type |
---|---|
u | number |
result | Vector2 |
Returns
Vector2
Defined in
packages/geometry/ExtrudeGeometry/Curve/LineCurve2D.ts:29
getTangent
▸ getTangent(t
, result?
): Vector2
Parameters
Name | Type |
---|---|
t | number |
result | Vector2 |
Returns
Vector2
Defined in
packages/geometry/ExtrudeGeometry/Curve/LineCurve2D.ts:33
getTangentAt
▸ getTangentAt(u
, result?
): Vector2
Parameters
Name | Type |
---|---|
u | number |
result | Vector2 |
Returns
Vector2
Defined in
packages/geometry/ExtrudeGeometry/Curve/LineCurve2D.ts:39
copyFrom
▸ copyFrom(other
): void
Parameters
Name | Type |
---|---|
other | LineCurve2D |
Returns
void