CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
IfcCurveSegment.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// OdIfcCurveSegment.h: interface for the OdIfcCurveSegment class.
25//
27
28#if !defined(ODA_ODIFCCURVESEGMENT_H_INCLUDED_)
29#define ODA_ODIFCCURVESEGMENT_H_INCLUDED_
30
31#if _MSC_VER > 1000
32#pragma once
33#endif // _MSC_VER > 1000
34
35#include "IfcSegment.h"
36
37#define TEST
38
42namespace OdIfc
43{
48 {
49 //DOM-IGNORE-BEGIN
51 //DOM-IGNORE-END
52
53 public:
58
64
70
76
83
92 bool calculateHeights(double len, double& height) const;
93
102 bool getStartLength(double& len) const;
103
104 //DOM-IGNORE-BEGIN
105 private:
106
107 void getParamFromLengthMeasure(const OdDAI::Select& lengthMeasure, const double fromParamOnCurve, double& newParam) const;
108
109#ifdef TEST
110 void trimBaseCurve();
111#endif
112
117 void translateBaseCurve();
118
119 OdGeCurve3dPtr m_pCurve;
120 bool m_bSameSense;
121 OdGeMatrix3d m_matrix;
122 double m_startParam;
123 double m_endParam;
124 //DOM-IGNORE-END
125 };
126
131}
132
133
134#endif // !defined(ODA_ODIFCCURVESEGMENT_H_INCLUDED_)
135
OdSharedPtr< OdGeCurve3d > OdGeCurve3dPtr
#define IFCGEOM_EXPORT
#define ODRX_OVERRIDE
#define ODRX_DECLARE_MEMBERS(ClassName)
Definition RxObject.h:112
bool calculateHeights(double len, double &height) const
bool draw(OdGiWorldDraw *pWd) const ODRX_OVERRIDE
bool getStartLength(double &len) const
virtual OdGeCurve3d * getGeCurveCopy() ODRX_OVERRIDE
bool isSameSense() const ODRX_OVERRIDE
virtual const OdGeCurve3d * getGeCurve() ODRX_OVERRIDE
void compose() ODRX_OVERRIDE
GLint GLenum GLsizei GLsizei height
Definition gles2_ext.h:110
OdSmartPtr< OdIfcCurveSegment > OdIfcCurveSegmentPtr