zjf
2023-03-06 4c74f8a9fb913d0c3db432c65afc4bff7f779522
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#ifndef BRELEMENT2D_H_INCLUDED
#define BRELEMENT2D_H_INCLUDED
 
#include "Br/BrElement.h"
#include "Ge/GeVector3d.h"
/** \details
  This interface class represents linear, two-dimensional first-order elements 
  in a mesh.
 
  \remarks 
  This class is implemented only for Spatial modeler. 
    
  \sa
  TD_Br
    
  <group OdBr_Classes>
*/
class ODBR_TOOLKIT_EXPORT OdBrElement2d : public OdBrElement
{
public:  
  /** \details
    Default constructor.
  */
  OdBrElement2d();
  
  /** \details
    Destructor.
  */
  ~OdBrElement2d();
 
  /** \details
    Returns the normal vector of normalized model space. The vector is computed 
    on the plane that is defined by the nodes of element traversed in a clockwise 
    direction.
    
    \param normal [out] Normal vector.
 
    \remarks
    In case of an error, the value of the normal vector passed as an 
    argument is unchanged.
  */
  OdBrErrorStatus getNormal (OdGeVector3d& normal) const;
};
 
 
#endif