Hide menu
Loading...
Searching...
No Matches
cadex::ModelCheck_BRepChecker::Tool Struct Reference

Tools flags. More...

Public Types

enum  {
  Continuity = 1 << 0 , Intersection = 1 << 1 , Overlap = 1 << 2 , Size = 1 << 3 ,
  Tolerance = 1 << 4 , Topology = 1 << 5 , All = Continuity | Intersection | Overlap | Size | Tolerance | Topology
}
 
typedef int FlagType
 

Detailed Description

Tools flags.

Defines flags for checker tools to allow easy addition of them to checker. Check Options::Tools() for an example on how to use flags.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
Continuity 

Checks if continuity of surfaces and curves (along with their pcurves) satisfies the selected one.

Intersection 

Finds intersections of wires in face and intersections of edges in wire.

Overlap 

Checks if edges in wire overlap each other by their tolerance. E.g., if two parallel lines has distance between them equal to 2 and they both have tolerance equal to 1.5, then they overlap along the entire length.

Size 

Checks if wire's and edge's bounding box diagonal length satisfies the given value.

Tolerance 

For edge checks if it's distances between curve and all pcurves are smaller then the threshold.
For vertex checks if it's distance to corresponding edge end is smaller then the threshold.

Topology 

Checks if shape has topological problems:

  • wrong edges orientation in wires
  • wrong wires orientation in faces
  • same orientation of shared edges
  • shapes without geometry
  • shapes without subshapes
  • not closed shapes
  • repeating subshape in shape
All 

All tools as one flag.