CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
IfcCurveSegment.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// 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
63 virtual OdGeCurve3d* getGeCurveCopy() ODRX_OVERRIDE;
64
69 virtual const OdGeCurve3d* getGeCurve() ODRX_OVERRIDE;
70
75 bool isSameSense() const ODRX_OVERRIDE;
76
82 bool draw(OdGiWorldDraw* pWd) const ODRX_OVERRIDE;
83
92 bool calculateHeights(double len, double& height) const;
93
102 bool getStartLength(double& len) const;
103
104 //DOM-IGNORE-BEGIN
105 private:
106 void convertParam(const OdAnsiString& type, const double curveStartParam, double& param) const;
107#ifdef TEST
108 void trimBaseCurve();
109#endif
110
115 void translateBaseCurve();
116
117 OdGeCurve3dPtr m_pCurve;
118 bool m_bSameSense;
119 OdGeMatrix3d m_matrix;
120 double m_startParam;
121 double m_endParam;
122 //DOM-IGNORE-END
123 };
124
129}
130
131
132#endif // !defined(ODA_ODIFCCURVESEGMENT_H_INCLUDED_)
133
#define IFCGEOM_EXPORT
#define ODRX_OVERRIDE
#define ODRX_DECLARE_MEMBERS(ClassName)
Definition: RxObject.h:112
void compose() ODRX_OVERRIDE
GLuint GLsizei GLsizei GLint GLenum * type
Definition: gles2_ext.h:274
GLint GLenum GLsizei GLsizei height
Definition: gles2_ext.h:110
OdSmartPtr< OdIfcCurveSegment > OdIfcCurveSegmentPtr