SHAPER  9.12.0
SketchSolver_Error Class Reference

Collects all sketch solver error' codes as inline static functions. More...

Static Public Member Functions

static const std::string & CONSTRAINTS ()
 The value parameter for the constraint. More...
 
static const std::string & INFINITE_LOOP ()
 Cyclic dependency of copied features with their originals. More...
 
static const std::string & NEED_OBJECT_NOT_FEATURE ()
 Constraints should use objects instead of features as attributes. More...
 
static const std::string & NO_COINCIDENT_POINTS ()
 The entities need to have shared point, but they have not. More...
 
static const std::string & NOT_INITIALIZED ()
 Attribute of a feature is not initialized. More...
 
static const std::string & INCORRECT_ATTRIBUTE ()
 Constraint has wrong attributes. More...
 
static const std::string & INCORRECT_TANGENCY_ATTRIBUTE ()
 Tangency constraint has wrong attributes. More...
 
static const std::string & INCORRECT_MIRROR_ATTRIBUTE ()
 Mirror constraint has wrong attributes. More...
 
static const std::string & ALREADY_FIXED ()
 Entity is already fixed. More...
 
static const std::string & TANGENCY_FAILED ()
 Tangency constraint has been built with wrong attributes (for example, line and arc have two coincident points) More...
 
static const std::string & SOLVESPACE_CRASH ()
 Crash in SolveSpace. More...
 
static const std::string & WRONG_CONSTRAINT_TYPE ()
 Constraint has wrong type. More...
 
static const std::string & DEGENERATED_GEOMETRY ()
 Sketch contains degenerated geometry. More...
 

Detailed Description

Collects all sketch solver error' codes as inline static functions.

Member Function Documentation

◆ CONSTRAINTS()

static const std::string& SketchSolver_Error::CONSTRAINTS ( )
inlinestatic

The value parameter for the constraint.

◆ INFINITE_LOOP()

static const std::string& SketchSolver_Error::INFINITE_LOOP ( )
inlinestatic

Cyclic dependency of copied features with their originals.

◆ NEED_OBJECT_NOT_FEATURE()

static const std::string& SketchSolver_Error::NEED_OBJECT_NOT_FEATURE ( )
inlinestatic

Constraints should use objects instead of features as attributes.

◆ NO_COINCIDENT_POINTS()

static const std::string& SketchSolver_Error::NO_COINCIDENT_POINTS ( )
inlinestatic

The entities need to have shared point, but they have not.

◆ NOT_INITIALIZED()

static const std::string& SketchSolver_Error::NOT_INITIALIZED ( )
inlinestatic

Attribute of a feature is not initialized.

◆ INCORRECT_ATTRIBUTE()

static const std::string& SketchSolver_Error::INCORRECT_ATTRIBUTE ( )
inlinestatic

Constraint has wrong attributes.

◆ INCORRECT_TANGENCY_ATTRIBUTE()

static const std::string& SketchSolver_Error::INCORRECT_TANGENCY_ATTRIBUTE ( )
inlinestatic

Tangency constraint has wrong attributes.

◆ INCORRECT_MIRROR_ATTRIBUTE()

static const std::string& SketchSolver_Error::INCORRECT_MIRROR_ATTRIBUTE ( )
inlinestatic

Mirror constraint has wrong attributes.

◆ ALREADY_FIXED()

static const std::string& SketchSolver_Error::ALREADY_FIXED ( )
inlinestatic

Entity is already fixed.

◆ TANGENCY_FAILED()

static const std::string& SketchSolver_Error::TANGENCY_FAILED ( )
inlinestatic

Tangency constraint has been built with wrong attributes (for example, line and arc have two coincident points)

◆ SOLVESPACE_CRASH()

static const std::string& SketchSolver_Error::SOLVESPACE_CRASH ( )
inlinestatic

Crash in SolveSpace.

◆ WRONG_CONSTRAINT_TYPE()

static const std::string& SketchSolver_Error::WRONG_CONSTRAINT_TYPE ( )
inlinestatic

Constraint has wrong type.

◆ DEGENERATED_GEOMETRY()

static const std::string& SketchSolver_Error::DEGENERATED_GEOMETRY ( )
inlinestatic

Sketch contains degenerated geometry.