brepjs API Reference
GitHub
npm
Getting Started
Preparing search index...
index
polygon
Function polygon
polygon
(
points
:
Vec3
[]
,
)
:
Result
<
ShapeHandle
&
{
"[___brand]"
:
"face"
;
"[___dim]"
:
"3D"
}
&
{
"[___oriented]"
:
true
;
}
&
{
"[___planar]"
:
true
}
,
>
Create a polygonal face from three or more coplanar points. The resulting face is always oriented.
Parameters
points
:
Vec3
[]
Returns
Result
<
ShapeHandle
&
{
"[___brand]"
:
"face"
;
"[___dim]"
:
"3D"
}
&
{
"[___oriented]"
:
true
;
}
&
{
"[___planar]"
:
true
}
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
GitHub
npm
Getting Started
brepjs API Reference
Loading...
Create a polygonal face from three or more coplanar points. The resulting face is always oriented.