CFx SDK Documentation
2026 SP0
Loading...
Searching...
No Matches
SDK
CFx
bim_ifc
Entities
IfcSegmentedReferenceCurve.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
// IfcSegmentedReferenceCurve.h: interface for the OdIfcSegmentedReferenceCurve class.
25
//
27
28
#if !defined(ODA_ODIFCSEGMENTEDREFERENCECURVE_H_INCLUDED_)
29
#define ODA_ODIFCSEGMENTEDREFERENCECURVE_H_INCLUDED_
30
31
#if _MSC_VER > 1000
32
#pragma once
33
#endif
// _MSC_VER > 1000
34
35
#include "
IfcCompositeCurve.h
"
36
#include "
IfcCurveSegment.h
"
37
#include "
Ge/GeCompositeCurve3d.h
"
38
42
namespace
OdIfc
{
43
50
class
IFCGEOM_EXPORT
OdIfcSegmentedReferenceCurve
:
public
OdIfcCompositeCurve
51
{
52
ODRX_DECLARE_MEMBERS
(
OdIfcSegmentedReferenceCurve
);
53
54
public
:
58
virtual
void
compose
();
59
70
virtual
OdResult
getCantMatrix
(
double
length
,
OdGeMatrix3d
& matrix,
bool
withRotation =
true
,
const
OdGePoint3d
& rotPoint =
OdGePoint3d
(0, 0, 0),
const
OdGeVector3d
& rotVector =
OdGeVector3d
(0, 0, 1),
bool
profileIn2d =
true
)
const
;
71
76
virtual
OdResult
onStartCurveCreating
();
77
82
double
parametricLength
();
83
90
OdResult
getCantValues
(
int
numSegments,
OdGePoint2dArray
&cantValues);
91
92
private
:
93
94
OdGePoint3d
moveAlongCurve(
OdIfcCurveSegmentPtr
pSeg,
const
OdGePoint3d
* pLocation,
double
param)
const
;
95
bool
getPlacementVectors(
OdIfcCurveSegment
* pSeg,
const
OdGePoint3d
*& pLocation,
const
OdGeVector3d
*& pDirection,
const
OdGeVector3d
*& pAxis)
const
;
96
97
mutable
OdDAIObjectId* m_pSeg =
nullptr
;
98
OdDAIObjectIds m_Segments;
99
};
100
SMARTPTR
(
OdIfcSegmentedReferenceCurve
);
101
102
}
103
104
#endif
// !defined(ODA_ODIFCSEGMENTEDREFERENCECURVE_H_INCLUDED_)
105
GeCompositeCurve3d.h
OdGePoint2dArray
OdArray< OdGePoint2d, OdMemoryAllocator< OdGePoint2d > > OdGePoint2dArray
Definition
GeGbl.h:45
IFCGEOM_EXPORT
#define IFCGEOM_EXPORT
Definition
IfcBuildOptions.h:44
SMARTPTR
#define SMARTPTR(classname)
Definition
IfcCommon.h:33
IfcCompositeCurve.h
IfcCurveSegment.h
OdResult
OdResult
Definition
OdResult.h:29
ODRX_DECLARE_MEMBERS
#define ODRX_DECLARE_MEMBERS(ClassName)
Definition
RxObject.h:112
OdGeMatrix3d
Definition
GeMatrix3d.h:79
OdGePoint3d
Definition
GePoint3d.h:57
OdGeVector3d
Definition
GeVector3d.h:55
OdIfc::OdIfcCompositeCurve
Definition
IfcCompositeCurve.h:48
OdIfc::OdIfcCurveSegment
Definition
IfcCurveSegment.h:48
OdIfc::OdIfcSegmentedReferenceCurve
Definition
IfcSegmentedReferenceCurve.h:51
OdIfc::OdIfcSegmentedReferenceCurve::compose
virtual void compose()
OdIfc::OdIfcSegmentedReferenceCurve::getCantMatrix
virtual OdResult getCantMatrix(double length, OdGeMatrix3d &matrix, bool withRotation=true, const OdGePoint3d &rotPoint=OdGePoint3d(0, 0, 0), const OdGeVector3d &rotVector=OdGeVector3d(0, 0, 1), bool profileIn2d=true) const
OdIfc::OdIfcSegmentedReferenceCurve::getCantValues
OdResult getCantValues(int numSegments, OdGePoint2dArray &cantValues)
OdIfc::OdIfcSegmentedReferenceCurve::onStartCurveCreating
virtual OdResult onStartCurveCreating()
OdIfc::OdIfcSegmentedReferenceCurve::parametricLength
double parametricLength()
length
GLuint GLsizei GLsizei * length
Definition
gles2_ext.h:274
OdIfc
Definition
FxBIMExportToIFC.h:34
OdIfc::OdIfcCurveSegmentPtr
OdSmartPtr< OdIfcCurveSegment > OdIfcCurveSegmentPtr
Definition
IfcCurveSegment.h:130
Generated on Tue Apr 15 2025 11:28:11