CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
AECStairTurn.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
16// license 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 __AECSTAIRTURN_H__
25#define __AECSTAIRTURN_H__
26
27#include "AECArchBaseDefs.h"
29#include <Ge/GePoint2d.h>
30
36class AECARCHBASE_API AECStairTurn : public AECStairComponent
37{
39
40 public:
45
50
54 double GetLeftOffset() const;
55
59 void SetLeftOffset( double dOffset );
60
64 double GetRightOffset() const;
65
69 void SetRightOffset( double dOffset );
70
78
82 const OdGePoint2d& GetPointByIndex( OdUInt32 iIndex ) const;
83
88
92 void SetPoints( const OdGePoint2d& pt1 );
93
97 void SetPoints( const OdGePoint2d& pt1,
98 const OdGePoint2d& pt2 );
99
106 void SetPoints( const OdGePoint2d& pt1,
107 const OdGePoint2d& pt2, const OdGePoint2d& pt3 );
108
116
123 void SetCenterPoint( const OdGePoint2d& ptPoint );
124
128 virtual void GetContour( FacetModeler::Contour2D& rContour ) const;
129};
130
133
134#endif // __AECSTAIRTURN_H__
#define AEC_DECLARE_MEMBERS(ClassName)
Definition: AECMacros.h:54
OdSmartPtr< AECStairTurn > AECStairTurnPtr
Definition: AECStairTurn.h:131
AECSubPtr< AECStairTurn > AECStairTurnSubPtr
Definition: AECStairTurn.h:132
unsigned int OdUInt32
AECDefs::StairTurnType GetType() const
void SetCenterPoint(const OdGePoint2d &ptPoint)
OdUInt32 GetPointCount() const
void SetLeftOffset(double dOffset)
void SetPoints(const OdGePoint2d &pt1, const OdGePoint2d &pt2)
double GetLeftOffset() const
void SetPoints(const OdGePoint2d &pt1)
void SetRightOffset(double dOffset)
void SetPointByIndex(OdUInt32 iIndex, OdGePoint2d pt)
void SetType(AECDefs::StairTurnType eType)
void SetPoints(const OdGePoint2d &pt1, const OdGePoint2d &pt2, const OdGePoint2d &pt3)
const OdGePoint2d & GetCenterPoint() const
const OdGePoint2d & GetPointByIndex(OdUInt32 iIndex) const
virtual void GetContour(FacetModeler::Contour2D &rContour) const
double GetRightOffset() const