CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
AECDbPolygon.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 __AECDBPOLYGON_H__
25#define __AECDBPOLYGON_H__
26
29
30class AECDbPolygon;
32
38class AECBASE_API AECDbPolygon : public AECDbCellLayoutTool
39{
41
43
44 public:
49
57 const OdDbObjectId& idPolygonStyle );
58 public:
63
68
72 virtual OdUInt32 GetLayoutNodeIndex( OdUInt32 iPos ) const;
73
77 virtual OdUInt32 GetLayoutCellIndex( OdUInt32 iPos ) const;
78
83
88
89 public:
94 FacetModeler::Contour2D& rCellBoundContour,
95 FacetModeler::Contour2D& rCellContour) const;
96
100 virtual OdResult GetClosestCellTo( const OdGePoint3d& ptGivenPoint, OdUInt32& iIndex ) const;
101
105 virtual OdResult GetClosestNodeTo( const OdGePoint3d& ptGivenPoint, OdUInt32& iIndex ) const;
106};
107
108#endif //__AECDBPOLYGON_H__
OdSmartPtr< AECDbPolygon > AECDbPolygonPtr
Definition: AECDbPolygon.h:31
#define CURVE_DECLARE_MEMBERS()
Definition: AECMacros.h:34
#define AEC_DECLARE_MEMBERS(ClassName)
Definition: AECMacros.h:54
unsigned int OdUInt32
OdResult
Definition: OdResult.h:29
virtual OdUInt32 GetLayoutCellCount() const
virtual OdResult GetClosestNodeTo(const OdGePoint3d &ptGivenPoint, OdUInt32 &iIndex) const
virtual OdUInt32 GetLayoutNodeCount() const
virtual OdResult GetCellContour(OdUInt32 iIndex, FacetModeler::Contour2D &rCellBoundContour, FacetModeler::Contour2D &rCellContour) const
virtual OdUInt32 GetLayoutCellIndex(OdUInt32 iPos) const
virtual OdResult GetClosestCellTo(const OdGePoint3d &ptGivenPoint, OdUInt32 &iIndex) const
static AECDbPolygonPtr CreateAECObject(const OdDbObjectId &idBlock, const OdDbObjectId &idPolygonStyle)
virtual OdGeMatrix3d GetLayoutCellTransform(OdUInt32 iPos) const
AECGeProfileSubPtr GetProfile() const
virtual OdGeMatrix3d GetLayoutNodeTransform(OdUInt32 iPos) const
virtual OdUInt32 GetLayoutNodeIndex(OdUInt32 iPos) const