Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:03:09

0001 // Created on: 1993-07-06
0002 // Created by: Remi LEQUETTE
0003 // Copyright (c) 1993-1999 Matra Datavision
0004 // Copyright (c) 1999-2014 OPEN CASCADE SAS
0005 //
0006 // This file is part of Open CASCADE Technology software library.
0007 //
0008 // This library is free software; you can redistribute it and/or modify it under
0009 // the terms of the GNU Lesser General Public License version 2.1 as published
0010 // by the Free Software Foundation, with special exception defined in the file
0011 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0012 // distribution for complete text of the license and disclaimer of any warranty.
0013 //
0014 // Alternatively, this file may be used under the terms of Open CASCADE
0015 // commercial license or contractual agreement.
0016 
0017 #ifndef _BRepBuilderAPI_EdgeError_HeaderFile
0018 #define _BRepBuilderAPI_EdgeError_HeaderFile
0019 
0020 //! Indicates the outcome of the
0021 //! construction of an edge, i.e. whether it has been successful or
0022 //! not, as explained below:
0023 //! -      BRepBuilderAPI_EdgeDone No    error occurred; The edge is
0024 //! correctly built.
0025 //! -      BRepBuilderAPI_PointProjectionFailed No parameters were given but
0026 //! the projection of the 3D points on the curve failed. This
0027 //! happens when the point distance to the curve is greater than
0028 //! the precision value.
0029 //! -      BRepBuilderAPI_ParameterOutOfRange
0030 //! The given parameters are not in the parametric range
0031 //! C->FirstParameter(), C->LastParameter()
0032 //! -      BRepBuilderAPI_DifferentPointsOnClosedCurve
0033 //! The two vertices or points are the extremities of a closed
0034 //! curve but have different locations.
0035 //! -      BRepBuilderAPI_PointWithInfiniteParameter
0036 //! A finite coordinate point was associated with an infinite
0037 //! parameter (see the Precision package for a definition of    infinite values).
0038 //! -      BRepBuilderAPI_DifferentsPointAndParameter
0039 //! The distance between the 3D point and the point evaluated
0040 //! on the curve with the parameter is greater than the precision.
0041 //! -      BRepBuilderAPI_LineThroughIdenticPoints
0042 //! Two identical points were given to define a line (construction
0043 //! of an edge without curve); gp::Resolution is used for the    confusion test.
0044 enum BRepBuilderAPI_EdgeError
0045 {
0046 BRepBuilderAPI_EdgeDone,
0047 BRepBuilderAPI_PointProjectionFailed,
0048 BRepBuilderAPI_ParameterOutOfRange,
0049 BRepBuilderAPI_DifferentPointsOnClosedCurve,
0050 BRepBuilderAPI_PointWithInfiniteParameter,
0051 BRepBuilderAPI_DifferentsPointAndParameter,
0052 BRepBuilderAPI_LineThroughIdenticPoints
0053 };
0054 
0055 #endif // _BRepBuilderAPI_EdgeError_HeaderFile