brepjs API Reference
GitHub
npm
Getting Started
Preparing search index...
2d
line2d
Function line2d
line2d
(
from
:
Point2D
,
to
:
Point2D
)
:
Result
<
Curve2DHandle
>
Create a 2D line segment between two points.
Parameters
from
:
Point2D
to
:
Point2D
Returns
Result
<
Curve2DHandle
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
GitHub
npm
Getting Started
brepjs API Reference
Loading...
Create a 2D line segment between two points.