API Reference > FacetModeler Namespace > Structs, Records, Enums > FacetModeler::Result Enumeration
FacetModeler::Result Enumeration
Syntax
C++
enum Result { erOk = 0, erWarnings, erWarnParamBounds, erWarnPointNotOnThis, erWarnEmptyContour, erWarnSmallContour, erWarnImproperAreas, erWarnContourNotClosed, erErrors = 0x1000, erNotImplementedYet, erInvalidIndex, erParamBounds, erPointNotOnThis, erInvalidTransform, erWrongSegType, erEmptyContour, erSingularPoints, erNoMetadata, erInvalidArgs, erContourIsTooSmall, erSelfIntersecting, erInvalidDirection, erContourNotClosed, erOperationNotApplicable, erFailedToCloseContours, erImproperRegionBounds, erImproperRegionAreas, erToleranceViolation, erFail, erLastError };

FMContoursBase.h

Members 
Description 
erOk = 0 
No error 
erWarnings 
Warning 
erWarnParamBounds 
Parameter on contour is not valid 
erWarnPointNotOnThis 
Input point or vector is not on this entity, but it should be 
erWarnEmptyContour 
Contour is empty 
erWarnSmallContour 
Contour is too small 
erWarnImproperAreas 
Region/Profile contours are not valid 
erWarnContourNotClosed 
A contour is not closed, but it should be 
erErrors = 0x1000 
Error 
erNotImplementedYet 
Not implemented 
erInvalidIndex 
Array/Segment index is out of range 
erParamBounds 
Parameter value is out of range 
erPointNotOnThis 
Input point or vector is not on this entity 
erInvalidTransform 
Invalid (singular) transformation matrix 
erWrongSegType 
Wrong segment type, another type expected 
erEmptyContour 
Contour is empty 
erSingularPoints 
Some points are invalid 
erNoMetadata 
Metadata is not available and/or can`t be updated 
erInvalidArgs 
Some input parameters are completely invalid 
erContourIsTooSmall 
Contour is too small 
erSelfIntersecting 
Contour or profile is self-intersecting 
erInvalidDirection 
Contour orientation is not applicable 
erContourNotClosed 
A contour is not closed, but it should be 
erOperationNotApplicable 
Operation is not applicable 
erFailedToCloseContours 
Invalid result in area operation 
erImproperRegionBounds 
Region/Profile is not valid in a regional operation 
erImproperRegionAreas 
Region/Profile is not valid in a regional operation 
erToleranceViolation 
Tolerance is too small, or input contours are singular 
erFail 
Unknown error 
erLastError 
Last error 

Defines possible result codes used in Contour2D and Profile2D classes.

Warnings are in the range [erWarnings.. erErrors). Errors are greater than erErrors.

Copyright © 2002-2020. Open Design Alliance. All rights reserved.