Loading...
Searching...
No Matches
meshkit::plan::ConstraintSimplificationResult Struct Reference

Output of simplifyConstraints(). More...

#include <meshkit/constraints.hpp>

Collaboration diagram for meshkit::plan::ConstraintSimplificationResult:

Public Attributes

bool ok = false
 The call finished without input error or cancellation, including runs that kept the originals because a budget ran out.
 
bool cancelled = false
 ConstraintSimplificationOptions::cancelled stopped the run; ok is false.
 
Text error
 Empty unless the input was rejected; then an English message, usually prefixed with the feature id.
 
Vector< SimplificationFeature > features
 One feature per input, in input order; the original wherever no edit was accepted.
 
Vector< SimplificationChange > changes
 One entry per input feature, in input order.
 
std::uint64_t sharedSegments = 0
 Exact segments owned by more than one feature (shared-edge path only; can be partial when the run kept the originals).
 
std::uint64_t sharedChains = 0
 Canonical chains owned by more than one feature (shared-edge path only).
 
std::uint64_t workUsed = 0
 Work units consumed.
 

Detailed Description

Member Data Documentation

◆ cancelled

bool meshkit::plan::ConstraintSimplificationResult::cancelled = false

ConstraintSimplificationOptions::cancelled stopped the run; ok is false.

◆ changes

Vector<SimplificationChange> meshkit::plan::ConstraintSimplificationResult::changes

One entry per input feature, in input order.

◆ error

Text meshkit::plan::ConstraintSimplificationResult::error

Empty unless the input was rejected; then an English message, usually prefixed with the feature id.

◆ features

Vector<SimplificationFeature> meshkit::plan::ConstraintSimplificationResult::features

One feature per input, in input order; the original wherever no edit was accepted.

Retained vertices keep their exact coordinates and elevations.

◆ ok

bool meshkit::plan::ConstraintSimplificationResult::ok = false

The call finished without input error or cancellation, including runs that kept the originals because a budget ran out.

◆ sharedChains

std::uint64_t meshkit::plan::ConstraintSimplificationResult::sharedChains = 0

Canonical chains owned by more than one feature (shared-edge path only).

◆ sharedSegments

std::uint64_t meshkit::plan::ConstraintSimplificationResult::sharedSegments = 0

Exact segments owned by more than one feature (shared-edge path only; can be partial when the run kept the originals).

◆ workUsed

std::uint64_t meshkit::plan::ConstraintSimplificationResult::workUsed = 0

Work units consumed.


The documentation for this struct was generated from the following file: