Loading...
Searching...
No Matches
meshkit::plan::detail Namespace Reference

Internal helpers of meshkit::plan; not part of the supported API. More...

Functions

ConstraintSimplificationResult simplifySharedConstraints (const Vector< SimplificationFeature > &features, const ConstraintSimplificationOptions &options)
 Shared-edge path of simplifyConstraints().
 

Detailed Description

Internal helpers of meshkit::plan; not part of the supported API.

Function Documentation

◆ simplifySharedConstraints()

ConstraintSimplificationResult meshkit::plan::detail::simplifySharedConstraints ( const Vector< SimplificationFeature > & features,
const ConstraintSimplificationOptions & options )

Shared-edge path of simplifyConstraints().

Groups segments with identical endpoints (either direction, +/-0 folded) into canonical chains, simplifies each chain once under the strictest policy of its owners and maps the result back onto every owner.

A feature retracing one of its own segments, inconsistent shared ordering, or conflicting shared heights set error. A ring-area failure restores every feature of the connected shared component. Without shared segments it runs the plain path on the remaining budget.

Parameters
[in]featuresInput already validated by simplifyConstraints(); read only.
[in]optionsAs for simplifyConstraints(); canonicalizeSharedEdges is not consulted.
Returns
As simplifyConstraints(), with sharedSegments and sharedChains filled.
Here is the call graph for this function:
Here is the caller graph for this function: