CollapseEdges
Collapse edges.
Syntax
model.component(
<ctag>
).geom(
<tag>
).create(
<ftag>
,"CollapseEdges");
model.component(
<ctag>
).geom(
<tag>
).feature(
<ftag>
).selection(
property
);
model.component(
<ctag>
).geom(
<tag>
).feature(
<ftag>
).set(
property
,
<value>
);
model.component(
<ctag>
).geom(
<tag>
).feature(
<ftag>
).get
Type
(
property
);
Description
Use
model.component(
<ctag>
).geom(
<tag>
).create(
<ftag>
,"CollapseEdges")
to collapse edges.
Use
model.component(
<ctag>
).geom(
<tag>
).feature(
<ftag>
).selection("input")
to select the edges to collapse. The default selection is empty.
The feature collapses an edge by removing it, merging its adjacent vertices to the vertex with lowest index, and reconnecting the adjacent edges to the merged vertex.
The output object is a virtual geometry.
The following properties are available:
Table 3-42:
Valid Properties.
Name
Value
Default
Description
input
Selection
Edges to collapse.
ignoremerged
on
|
off
on
Specifies if the operation tries to ignore the resulting merged vertices.
See Also
MergeVertices
,
CollapseFaces
,
CollapseFaceRegions