API ReferenceModelingAlgorithmsTKPrim
BRepPreviewAPI
OCCT package BRepPreviewAPI: BRepPreviewAPI_MakeBox.
BRepPreviewAPI_MakeBox
Builds a valid box, if points fulfill the conditions of a valid box. And allows to build a preview, otherwise. There are 4 cases: 1 - preview can be a vertex if thin box in all directions is a point; 2 - preview can be an edge if thin box in two directions is a point; 3 - preview can be a rectangular face if thin box in only one direction is a point; 4 - preview can be a valid box if point values fulfill the conditions of a valid box.
Constructors(1)
Constructor.
Instance methods(1)
- Build(theRange?: Message_ProgressRange): void
Creates a preview depending on point values.
Parameters (1)theRange