brepjs API Reference
GitHub
npm
Getting Started
Preparing search index...
index
resolveRef
Function resolveRef
resolveRef
(
ref
:
ShapeRef
,
roles
:
RoleTable
,
currentShape
:
Shape3D
,
scorer
?:
FaceScorer
,
)
:
ResolvedRef
|
BrokenRef
Resolve a ShapeRef to a face in the current shape.
Resolution strategy:
Exact lookup via role table hash match
Geometric fallback using scorer against all faces
Ambiguous if multiple faces score within threshold
Not-found if no match above minimum score
Parameters
ref
:
ShapeRef
roles
:
RoleTable
currentShape
:
Shape3D
Optional
scorer
:
FaceScorer
Returns
ResolvedRef
|
BrokenRef
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
GitHub
npm
Getting Started
brepjs API Reference
Loading...
Resolve a ShapeRef to a face in the current shape.
Resolution strategy: