CFx SDK Documentation  2022 SP0
FMContour3D.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2015, Open Design Alliance (the "Alliance").
3 // All rights reserved.
4 //
5 // This software and its documentation and related materials are owned by
6 // the Alliance. The software may only be incorporated into application
7 // programs owned by members of the Alliance, subject to a signed
8 // Membership Agreement and Supplemental Software License Agreement with the
9 // Alliance. The structure and organization of this software are the valuable
10 // trade secrets of the Alliance and its suppliers. The software is also
11 // protected by copyright law and international treaty provisions. Application
12 // programs incorporating this software must include the following statement
13 // with their copyright notices:
14 //
15 // This application incorporates Teigha(R) software pursuant to a license
16 // agreement with Open Design Alliance.
17 // Teigha(R) Copyright (C) 2002-2015 by Open Design Alliance.
18 // All rights reserved.
19 //
20 // By use of this software, its documentation or related materials, you
21 // acknowledge and accept the above terms.
23 
24 #ifndef __FMCONTOUR3D_H__
25 #define __FMCONTOUR3D_H__
26 
27 #include "FMContour2D.h"
28 #include "FMWrapper3D.h"
29 
33 namespace FacetModeler
34 {
35 
42 class FMGEOMETRY_API Contour3D : public Contour2D, public Wrapper3D
43 {
44  public:
49 
54 
58  explicit Contour3D( const Contour2D& rFrom2d,
59  const OdGeMatrix3d& rMatrix = OdGeMatrix3d::kIdentity );
60 
64  explicit Contour3D( const Contour2D& rFrom2d,
65  const OdGeVector3d& vXAxis, const OdGeVector3d& vYAxis );
66 
70  explicit Contour3D( const OdGeVector3d& vXAxis,
71  const OdGeVector3d& vYAxis, const OdGePoint3d& ptOrigin = OdGePoint3d::kOrigin );
72 
76  explicit Contour3D( const OdGePlane& rPlane );
77 
81  Result transformBy( const OdGeMatrix2d& mMatrix );
82 
86  Result transformBy(const OdGeMatrix3d& geMatrix );
87 
92  OdGePoint3d& ptPoint3D ) const;
93 
97  Result getPoint3D( double dParam,
98  OdGePoint3d& ptPoint3D ) const;
99 
103  Result getTangent3D( double dParam,
104  OdGeVector3d& vTangent3D ) const;
105 };
106 
107 }; // namespace AECContours
108 
109 #endif //__FMCONTOUR3D_H__
unsigned int OdUInt32
Contour3D(const OdGePlane &rPlane)
Result transformBy(const OdGeMatrix2d &mMatrix)
Contour3D(const OdGeVector3d &vXAxis, const OdGeVector3d &vYAxis, const OdGePoint3d &ptOrigin=OdGePoint3d::kOrigin)
Result getPoint3DAt(OdUInt32 iIndex, OdGePoint3d &ptPoint3D) const
Contour3D(const Contour2D &rFrom2d, const OdGeMatrix3d &rMatrix=OdGeMatrix3d::kIdentity)
Contour3D(const Contour2D &rFrom2d, const OdGeVector3d &vXAxis, const OdGeVector3d &vYAxis)
Result getPoint3D(double dParam, OdGePoint3d &ptPoint3D) const
Result getTangent3D(double dParam, OdGeVector3d &vTangent3D) const
Result transformBy(const OdGeMatrix3d &geMatrix)
static GE_STATIC_EXPORT const OdGeMatrix3d kIdentity
Definition: GeMatrix3d.h:79
static GE_STATIC_EXPORT const OdGePoint3d kOrigin
Definition: GePoint3d.h:89