CFx SDK Documentation  2020SP3
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__
FacetModeler::Contour3D::transformBy
Result transformBy(const OdGeMatrix2d &mMatrix)
OdGePlane
Definition: GePlane.h:45
OdGeVector3d
Definition: GeVector3d.h:54
FacetModeler::Contour3D::~Contour3D
~Contour3D()
FacetModeler::Contour3D::Contour3D
Contour3D(const Contour2D &rFrom2d, const OdGeVector3d &vXAxis, const OdGeVector3d &vYAxis)
FacetModeler::Contour2D
Definition: FMContour2D.h:75
FacetModeler
Definition: FMContour2D.h:35
FacetModeler::Contour3D::Contour3D
Contour3D()
FacetModeler::Contour3D::transformBy
Result transformBy(const OdGeMatrix3d &geMatrix)
FMWrapper3D.h
FacetModeler::Contour3D
Definition: FMContour3D.h:43
FacetModeler::Contour3D::getPoint3DAt
Result getPoint3DAt(OdUInt32 iIndex, OdGePoint3d &ptPoint3D) const
OdUInt32
unsigned int OdUInt32
Definition: OdPlatformSettings.h:783
OdGeMatrix3d
Definition: GeMatrix3d.h:73
FacetModeler::Wrapper3D
Definition: FMWrapper3D.h:38
OdGePoint3d
Definition: GePoint3d.h:55
FacetModeler::Contour3D::getTangent3D
Result getTangent3D(double dParam, OdGeVector3d &vTangent3D) const
FMContour2D.h
OdGePoint3d::kOrigin
static GE_STATIC_EXPORT const OdGePoint3d kOrigin
Definition: GePoint3d.h:89
FacetModeler::Result
Result
Definition: FMContoursBase.h:44
FacetModeler::Contour3D::Contour3D
Contour3D(const Contour2D &rFrom2d, const OdGeMatrix3d &rMatrix=OdGeMatrix3d::kIdentity)
FacetModeler::Contour3D::Contour3D
Contour3D(const OdGePlane &rPlane)
OdGeMatrix2d
Definition: GeMatrix2d.h:73
FacetModeler::Contour3D::getPoint3D
Result getPoint3D(double dParam, OdGePoint3d &ptPoint3D) const
FacetModeler::Contour3D::Contour3D
Contour3D(const OdGeVector3d &vXAxis, const OdGeVector3d &vYAxis, const OdGePoint3d &ptOrigin=OdGePoint3d::kOrigin)
OdGeMatrix3d::kIdentity
static GE_STATIC_EXPORT const OdGeMatrix3d kIdentity
Definition: GeMatrix3d.h:79