CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
AECGeSegment2d.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 __AECGESEGMENT2D_H__
25#define __AECGESEGMENT2D_H__
26
28#include "FMSegment2D.h"
29
35class AECBASE_API AECGeSegment2d : public AECImpObj
36{
38
39 public:
44
48 void GetStartPoint( OdGePoint2d& ptStart ) const;
49
53 void GetEndPoint( OdGePoint2d& ptEnd ) const;
54
58 double GetBulge() const;
59
64
69
73 bool IsVisible() const;
74
78 void SetVisible( bool bVisible );
79
87
92
97
101 virtual void copyFrom( const OdRxObject* pSource);
102
103 public:
107 void Get(FacetModeler::Segment2D& cSegment) const;
108
112 void Set( const OdGePoint2d& ptStart, const OdGePoint2d& ptEnd, double dBulge = 0 );
113
117 void Set(const FacetModeler::Segment2D& cSegment);
118
120 void SetFullCircle( const OdGePoint2d& ptCenter, double dRadius, bool bClockwise );
121};
122
125
126#endif //__AECGESEGMENT2D_H__
OdSmartPtr< AECGeSegment2d > AECGeSegment2dPtr
AECSubPtr< AECGeSegment2d > AECGeSegment2dSubPtr
#define AEC_DECLARE_MEMBERS(ClassName)
Definition: AECMacros.h:54
unsigned int OdUInt32
void GetEndPoint(OdGePoint2d &ptEnd) const
AECDefs::SegmentEdgePosition GetPosition() const
AECAttributeSubPtr GetAttribute() const
void GetStartPoint(OdGePoint2d &ptStart) const
double GetBulge() const
void SetAttribute(AECAttributePtr pAttr)
bool IsVisible() const
void Set(const OdGePoint2d &ptStart, const OdGePoint2d &ptEnd, double dBulge=0)
void Get(FacetModeler::Segment2D &cSegment) const
void Set(const FacetModeler::Segment2D &cSegment)
void SetPosition(AECDefs::SegmentEdgePosition ePosition)
virtual void copyFrom(const OdRxObject *pSource)
AECDefs::SegmentType GetType() const
void SetFullCircle(const OdGePoint2d &ptCenter, double dRadius, bool bClockwise)
DOM.
void SetVisible(bool bVisible)
virtual OdUInt32 GetSubsegmentCount() const
SegmentEdgePosition
Definition: AECBaseDefs.h:287