CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
FMProfile3D.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2022, 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 Open Design Alliance software pursuant to a license
16// agreement with Open Design Alliance.
17// Open Design Alliance Copyright (C) 2002-2022 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 __FMPROFILE3D_H__
25#define __FMPROFILE3D_H__
26
27#include "FMProfile2D.h"
28#include "FMWrapper3D.h"
29
30namespace FacetModeler
31{
32
40 {
41 public:
46
52 explicit Profile3D(const Profile2D& cFrom2d);
53
60 explicit Profile3D(const Profile2D& cFrom2d,
61 const OdGeMatrix3d& mMatrix);
62
70 explicit Profile3D(const Profile2D& cFrom2d,
71 const OdGeVector3d& vXAxis, const OdGeVector3d& vYAxis);
72
79 explicit Profile3D(const Profile2D& cFrom2d,
80 const OdGePlane& rPlane);
81
87 explicit Profile3D(const OdGeMatrix3d& mMatrix);
88
96 explicit Profile3D(const OdGeVector3d& vXAxis,
97 const OdGeVector3d& vYAxis,
98 const OdGePoint3d& ptOrigin = OdGePoint3d::kOrigin);
99
105 explicit Profile3D(const OdGePlane& pPlane);
106
115 const DeviationParams& devDeviation = FMGeGbl::gDefDev);
116
124
130 void swap(Profile2D& rAnother);
131
137 void swap(Profile3D& rAnother);
138
144 inline const Profile2D& as2d() const { return *this; }
145
151 inline Profile2D& as2d() { return *this; }
152
157 };
158
159};
160
161#endif //__FMPROFILE3D_H__
#define FMGEOMETRY_API
const Profile2D & as2d() const
Definition: FMProfile3D.h:144
Profile3D(const OdGeVector3d &vXAxis, const OdGeVector3d &vYAxis, const OdGePoint3d &ptOrigin=OdGePoint3d::kOrigin)
Profile3D(const OdGeMatrix3d &mMatrix)
Profile3D(const Profile2D &cFrom2d, const OdGeVector3d &vXAxis, const OdGeVector3d &vYAxis)
Result transformBy(const OdGeMatrix3d &mMatrix)
Profile3D(const Profile2D &cFrom2d, const OdGePlane &rPlane)
void swap(Profile3D &rAnother)
Profile3D(const OdGePlane &pPlane)
Profile3D(const Profile2D &cFrom2d, const OdGeMatrix3d &mMatrix)
void swap(Profile2D &rAnother)
Result transformBy(const OdGeMatrix2d &mMatrix, const DeviationParams &devDeviation=FMGeGbl::gDefDev)
Profile3D(const Profile2D &cFrom2d)
static GE_STATIC_EXPORT const OdGePoint3d kOrigin
Definition: GePoint3d.h:106