CFx SDK Documentation
2026 SP0
Loading...
Searching...
No Matches
SDK
CFx
dd_inc
ModelerGeometryDefs.h
Go to the documentation of this file.
1
2
// Copyright (C) 2002-2024, 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-2024 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
27
#include "
BoolArray.h
"
28
29
class
OdGeCurve3d
;
30
34
namespace
OdEdgeTypeFlags
{
38
enum
Enum
{
39
41
kTangent
= 1L,
42
44
kTangentShortend
= 2L,
45
47
kInterference
= 4L,
48
51
kBend
= 8L,
52
55
kThread
= 16L,
56
59
kPresentation
= 32L,
60
63
kOuterBoundary
= 64L,
64
66
kRegular
= 0,
67
};
68
}
69
70
74
struct
OdLineSegInterval
{
75
double
startParam
,
endParam
;
76
};
77
78
typedef
OdArray<OdLineSegInterval, OdMemoryAllocator<OdLineSegInterval>
>
OdLineSegIntervalArray
;
79
80
86
class
OdEdgeHLREdgeVisitor
{
87
public
:
88
99
virtual
void
edge
(
100
OdInt32
bodyIndex,
101
OdInt32
edgeTag,
102
OdEdgeTypeFlags::Enum
edgeType,
103
const
OdGeCurve3d
&
edge
,
104
const
OdLineSegIntervalArray
& segmenParameters,
105
const
OdBoolArray
& visibilities) = 0;
106
};
107
108
109
110
#endif
//_MODELERGEOMETRYDEFS_INCLUDED_
BoolArray.h
OdBoolArray
OdArray< OdBool, OdMemoryAllocator< OdBool > > OdBoolArray
Definition
BoolArray.h:36
OdLineSegIntervalArray
OdArray< OdLineSegInterval, OdMemoryAllocator< OdLineSegInterval > > OdLineSegIntervalArray
Definition
ModelerGeometryDefs.h:78
OdInt32
int OdInt32
Definition
OdPlatformSettings.h:767
OdArray
Definition
OdArray.h:835
OdEdgeHLREdgeVisitor
Definition
ModelerGeometryDefs.h:86
OdEdgeHLREdgeVisitor::edge
virtual void edge(OdInt32 bodyIndex, OdInt32 edgeTag, OdEdgeTypeFlags::Enum edgeType, const OdGeCurve3d &edge, const OdLineSegIntervalArray &segmenParameters, const OdBoolArray &visibilities)=0
OdGeCurve3d
Definition
GeCurve3d.h:56
OdEdgeTypeFlags
Definition
ModelerGeometryDefs.h:34
OdEdgeTypeFlags::Enum
Enum
Definition
ModelerGeometryDefs.h:38
OdEdgeTypeFlags::kOuterBoundary
@ kOuterBoundary
Definition
ModelerGeometryDefs.h:63
OdEdgeTypeFlags::kInterference
@ kInterference
Definition
ModelerGeometryDefs.h:47
OdEdgeTypeFlags::kThread
@ kThread
Definition
ModelerGeometryDefs.h:55
OdEdgeTypeFlags::kRegular
@ kRegular
Definition
ModelerGeometryDefs.h:66
OdEdgeTypeFlags::kBend
@ kBend
Definition
ModelerGeometryDefs.h:51
OdEdgeTypeFlags::kTangentShortend
@ kTangentShortend
Definition
ModelerGeometryDefs.h:44
OdEdgeTypeFlags::kTangent
@ kTangent
Definition
ModelerGeometryDefs.h:41
OdEdgeTypeFlags::kPresentation
@ kPresentation
Definition
ModelerGeometryDefs.h:59
OdLineSegInterval
Definition
ModelerGeometryDefs.h:74
OdLineSegInterval::startParam
double startParam
Definition
ModelerGeometryDefs.h:75
OdLineSegInterval::endParam
double endParam
Definition
ModelerGeometryDefs.h:75
Generated on Tue Apr 15 2025 11:30:03