CFx SDK Documentation
2023 SP0
SDK
CFx
aec_inc
DbEntity
AECDbLayoutTool.h
Go to the documentation of this file.
1
// Copyright (C) 2002-2017, 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 Teigha(R) software pursuant to a license
16
// agreement with Open Design Alliance.
17
// Teigha(R) Copyright (C) 2002-2017 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 __AECDBLAYOUTTOOL_H__
25
#define __AECDBLAYOUTTOOL_H__
26
27
#include "
DbEntity/AECDbGeo.h
"
28
38
class
AECBASE_API
AECDbLayoutTool
:
public
AECDbGeo
39
{
40
AEC_DECLARE_MEMBERS
(
AECDbLayoutTool
);
41
42
CURVE_DECLARE_MEMBERS
();
43
44
public
:
51
virtual
OdUInt32
GetLayoutNodeCount
()
const
;
52
66
virtual
OdUInt32
GetLayoutNodeIndex
(
OdUInt32
iPos )
const
;
67
76
virtual
OdGeMatrix3d
GetLayoutNodeTransform
(
OdUInt32
iPos )
const
;
77
90
bool
FindLayoutNode
(
OdUInt32
iIndex,
OdGeMatrix3d
& mTrans )
const
;
91
101
virtual
OdResult
GetClosestNodeTo
(
const
OdGePoint3d
& ptGivenPoint,
OdUInt32
& iIndex )
const
;
102
};
103
104
typedef
OdSmartPtr<AECDbLayoutTool>
AECDbLayoutToolPtr
;
105
106
#endif
//__AECDBLAYOUTTOOL_H__
AECDbGeo.h
AECDbLayoutToolPtr
OdSmartPtr< AECDbLayoutTool > AECDbLayoutToolPtr
Definition:
AECDbLayoutTool.h:104
CURVE_DECLARE_MEMBERS
#define CURVE_DECLARE_MEMBERS()
Definition:
AECMacros.h:34
AEC_DECLARE_MEMBERS
#define AEC_DECLARE_MEMBERS(ClassName)
Definition:
AECMacros.h:54
OdUInt32
unsigned int OdUInt32
Definition:
OdPlatformSettings.h:783
OdResult
OdResult
Definition:
OdResult.h:29
AECDbGeo
Definition:
AECDbGeo.h:56
AECDbLayoutTool
Definition:
AECDbLayoutTool.h:39
AECDbLayoutTool::GetLayoutNodeCount
virtual OdUInt32 GetLayoutNodeCount() const
AECDbLayoutTool::GetLayoutNodeTransform
virtual OdGeMatrix3d GetLayoutNodeTransform(OdUInt32 iPos) const
AECDbLayoutTool::FindLayoutNode
bool FindLayoutNode(OdUInt32 iIndex, OdGeMatrix3d &mTrans) const
AECDbLayoutTool::GetClosestNodeTo
virtual OdResult GetClosestNodeTo(const OdGePoint3d &ptGivenPoint, OdUInt32 &iIndex) const
AECDbLayoutTool::GetLayoutNodeIndex
virtual OdUInt32 GetLayoutNodeIndex(OdUInt32 iPos) const
OdGeMatrix3d
Definition:
GeMatrix3d.h:73
OdGePoint3d
Definition:
GePoint3d.h:55
OdSmartPtr
Definition:
SmartPtr.h:58
Generated on Thu Feb 24 2022 15:09:22