CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
GeSurfaceCurve2dTo3d.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
25
26
27#ifndef OD_SURFACECURVE2DTO3D_H
28#define OD_SURFACECURVE2DTO3D_H
30#include "Ge/GeCurve3d.h"
31
32#include "TD_PackPush.h"
33
46{
47public:
48
53
61
69 const OdGeCurve2d& uvc,
70 const OdGeSurface& surf);
71
76 {
78 kCurveCopy = 0x01,
80 kCurveOwn = 0x02,
82 kCurveReference = 0x03,
84 kSurfaceCopy = 0x01 << 2,
86 kSurfaceOwn = 0x02 << 2,
88 kSurfaceReference = 0x03 << 2,
90 kCopy = kCurveCopy | kSurfaceCopy,
92 kOwn = kCurveOwn | kSurfaceOwn,
94 kReference = kCurveReference | kSurfaceReference,
95
96 //DOM-IGNORE-BEGIN
97 kCurveMask = 0x03,
98 kSurfaceMask = 0x03 << 2,
99 //DOM-IGNORE-END
100 };
114 OdGeSurfaceCurve2dTo3d(const OdGeCurve2d* pUvCurve, const OdGeSurface* pSurface, OwnershipFlag ownership);
115
122 const OdGeSurfaceCurve2dTo3d& src);
123
127 const OdGeCurve2d* curve() const;
128
132 const OdGeSurface* surface() const;
133
140 OdGeExtents3d& extents) const;
141};
142
143#include "TD_PackPop.h"
144
145
152 return static_cast<OdGeSurfaceCurve2dTo3d::OwnershipFlag>(static_cast<int>(a) | static_cast<int>(b));
153}
154
155#endif
156
#define GE_TOOLKIT_EXPORT
Definition: GeExport.h:49
OdGeSurfaceCurve2dTo3d::OwnershipFlag operator|(OdGeSurfaceCurve2dTo3d::OwnershipFlag a, OdGeSurfaceCurve2dTo3d::OwnershipFlag b)
OdGeCurve3d & operator=(const OdGeCurve3d &curve)
const OdGeSurface * surface() const
OdGeSurfaceCurve2dTo3d(const OdGeCurve2d *pUvCurve, const OdGeSurface *pSurface, OwnershipFlag ownership)
OdGeSurfaceCurve2dTo3d(const OdGeSurfaceCurve2dTo3d &source)
const OdGeCurve2d * curve() const
OdGeSurfaceCurve2dTo3d(const OdGeCurve2d &uvc, const OdGeSurface &surf)
void getGeomExtents(OdGeExtents3d &extents) const
GLsizei GLsizei GLchar * source
Definition: gles2_ext.h:282