Viewer - Interaction
Preparing search index...
GeometryRestrictionApi
Class GeometryRestrictionApi
Hierarchy
AbstractRestrictionApi
GeometryRestrictionApi
Index
Constructors
constructor
Accessors
enabled
hideable
id
priority
snap
To
Edges
snap
To
Faces
snap
To
Vertices
Methods
update
Nodes
Constructors
constructor
new
GeometryRestrictionApi
(
restriction
:
GeometryRestriction
,
)
:
GeometryRestrictionApi
Parameters
restriction
:
GeometryRestriction
Returns
GeometryRestrictionApi
Accessors
enabled
get
enabled
()
:
boolean
Whether the restriction is enabled or not.
Returns
boolean
set
enabled
(
value
:
boolean
)
:
void
Whether the restriction is enabled or not.
Parameters
value
:
boolean
Returns
void
hideable
get
hideable
()
:
boolean
Returns
boolean
set
hideable
(
value
:
boolean
)
:
void
Parameters
value
:
boolean
Returns
void
id
get
id
()
:
string
The unique identifier of the restriction.
Returns
string
priority
get
priority
()
:
number
Returns
number
snap
To
Edges
get
snapToEdges
()
:
boolean
Returns
boolean
set
snapToEdges
(
value
:
boolean
)
:
void
Parameters
value
:
boolean
Returns
void
snap
To
Faces
get
snapToFaces
()
:
boolean
Returns
boolean
set
snapToFaces
(
value
:
boolean
)
:
void
Parameters
value
:
boolean
Returns
void
snap
To
Vertices
get
snapToVertices
()
:
boolean
Returns
boolean
set
snapToVertices
(
value
:
boolean
)
:
void
Parameters
value
:
boolean
Returns
void
Methods
update
Nodes
updateNodes
(
nodes
:
ITreeNode
[]
)
:
void
Parameters
nodes
:
ITreeNode
[]
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Accessors
enabled
hideable
id
priority
snap
To
Edges
snap
To
Faces
snap
To
Vertices
Methods
update
Nodes
Viewer - Interaction
Loading...
Whether the restriction is enabled or not.