Arc2d
Table of contents
Public class
Signature
class Arc2d extends Geometry2d {}
References
Source
packages/editor/src/lib/primitives/geometry/Arc2d.ts
Constructor
Public constructor
Constructs a new instance of the Arc2d
class
Parameters
Name | Description |
---|---|
|
|
References
Properties
angleEnd
Public property
Signature
angleEnd: number
angleStart
Public property
Signature
angleStart: number
end
Public property
Signature
end: Vec
References
length
Public property
Signature
length: number
measure
Public property
Signature
measure: number
radius
Public property
Signature
radius: number
start
Public property
Signature
start: Vec
References
Methods
getVertices()
Public method
Signature
getVertices(): Vec[]
References
hitTestLineSegment()
Public method
Signature
hitTestLineSegment(A: Vec, B: Vec): boolean
Parameters
Name | Description |
---|---|
|
|
|
|
Returns
boolean
References
nearestPoint()
Public method
Signature
nearestPoint(point: Vec): Vec
Parameters
Name | Description |
---|---|
|
|
Returns
Vec
References