CFx SDK Documentation
2024 SP0
Loading...
Searching...
No Matches
SDK
CFx
dd_inc
ModelerGeometryDefs.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 _MODELERGEOMETRYDEFS_INCLUDED_
25
#define _MODELERGEOMETRYDEFS_INCLUDED_
26
#include "
Ge/GeCurve3dPtrArray.h
"
27
#include "
BoolArray.h
"
28
32
enum
SectionType
33
{
34
36
kFull_ST
= 0,
37
40
kHalfFirst_ST
,
41
44
kSecondHalf_ST
,
45
47
kOffset_ST
,
48
51
kAligned_ST
,
52
55
kByObject_ST
,
56
59
kCircular_ST
,
60
62
kRectangular_ST
,
63
65
kPolygon_ST
,
66
};
67
71
enum
OdEdgeTypeFlags
{
72
74
kTangent
= 1L,
75
78
kTangentShortend
= 2L,
79
82
kInterference
= 4L,
83
86
kBend
= 8L,
87
90
kThread
= 16L,
91
94
kPresentation
= 32L,
95
97
kRegular
= 0,
98
};
99
100
104
struct
OdLineSegInterval
{
105
double
startParam
,
endParam
;
106
};
107
108
typedef
OdArray<OdLineSegInterval, OdMemoryAllocator<OdLineSegInterval>
>
OdLineSegIntervalArray
;
109
110
116
class
OdEdgeHLREdgeVisitor
{
117
public
:
118
129
virtual
void
edge
(
130
OdInt32
bodyIndex,
131
OdInt32
edgeTag,
132
OdEdgeTypeFlags
edgeType,
133
const
OdGeCurve3d
&
edge
,
134
const
OdLineSegIntervalArray
& segmenParameters,
135
const
OdBoolArray
& visibilities) = 0;
136
};
137
138
139
140
#endif
//_MODELERGEOMETRYDEFS_INCLUDED_
BoolArray.h
GeCurve3dPtrArray.h
OdEdgeTypeFlags
OdEdgeTypeFlags
Definition:
ModelerGeometryDefs.h:71
kRegular
@ kRegular
Definition:
ModelerGeometryDefs.h:97
kPresentation
@ kPresentation
Definition:
ModelerGeometryDefs.h:94
kTangentShortend
@ kTangentShortend
Definition:
ModelerGeometryDefs.h:78
kBend
@ kBend
Definition:
ModelerGeometryDefs.h:86
kInterference
@ kInterference
Definition:
ModelerGeometryDefs.h:82
kTangent
@ kTangent
Definition:
ModelerGeometryDefs.h:74
kThread
@ kThread
Definition:
ModelerGeometryDefs.h:90
SectionType
SectionType
Definition:
ModelerGeometryDefs.h:33
kOffset_ST
@ kOffset_ST
Definition:
ModelerGeometryDefs.h:47
kFull_ST
@ kFull_ST
Definition:
ModelerGeometryDefs.h:36
kAligned_ST
@ kAligned_ST
Definition:
ModelerGeometryDefs.h:51
kSecondHalf_ST
@ kSecondHalf_ST
Definition:
ModelerGeometryDefs.h:44
kRectangular_ST
@ kRectangular_ST
Definition:
ModelerGeometryDefs.h:62
kHalfFirst_ST
@ kHalfFirst_ST
Definition:
ModelerGeometryDefs.h:40
kPolygon_ST
@ kPolygon_ST
Definition:
ModelerGeometryDefs.h:65
kCircular_ST
@ kCircular_ST
Definition:
ModelerGeometryDefs.h:59
kByObject_ST
@ kByObject_ST
Definition:
ModelerGeometryDefs.h:55
OdLineSegIntervalArray
OdArray< OdLineSegInterval, OdMemoryAllocator< OdLineSegInterval > > OdLineSegIntervalArray
Definition:
ModelerGeometryDefs.h:108
OdInt32
int OdInt32
Definition:
OdPlatformSettings.h:813
OdArray
Definition:
OdArray.h:829
OdEdgeHLREdgeVisitor
Definition:
ModelerGeometryDefs.h:116
OdEdgeHLREdgeVisitor::edge
virtual void edge(OdInt32 bodyIndex, OdInt32 edgeTag, OdEdgeTypeFlags edgeType, const OdGeCurve3d &edge, const OdLineSegIntervalArray &segmenParameters, const OdBoolArray &visibilities)=0
OdGeCurve3d
Definition:
GeCurve3d.h:56
OdLineSegInterval
Definition:
ModelerGeometryDefs.h:104
OdLineSegInterval::startParam
double startParam
Definition:
ModelerGeometryDefs.h:105
OdLineSegInterval::endParam
double endParam
Definition:
ModelerGeometryDefs.h:105
Generated on Wed Apr 5 2023 17:29:20