FRX SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
ShareDB.h
Go to the documentation of this file.
1#pragma once
2
3//
4// (C) Copyright 2005-2024 by Graebert GmbH.
5//
6// Permission to use, copy, modify, and distribute this software in
7// object code form for any purpose and without fee is hereby granted,
8// provided that the above copyright notice appears in all copies and
9// that both that copyright notice and the limited warranty and
10// restricted rights notice below appear in all supporting
11// documentation.
12//
13// GRAEBERT PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
14// GRAEBERT SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
15// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. GRAEBERT GMBH
16// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
17// UNINTERRUPTED OR ERROR FREE.
18
19#include "..\acdb17\AcDb.h"
21#include "..\acad\Acad.h"
22
23template < typename Param1 > class AcArrayMemCopyReallocator;
24class AcDbBlockTable;
25class AcDbDatabase;
26class AcDbDimension;
27class AcDbEntity;
28class AcDbObjectId;
29class AcDbTable;
30class AcDbTableStyle;
31class AcDmComponent;
33class AcGeMatrix3d;
34class AcGePlane;
35class AcGePoint3d;
36class AcGeVector3d;
37class AcViewport;
38
40{
41
42 bool __cdecl createPreviewLayer( AcDbDatabase *, AcDbObjectId &);
43 bool __cdecl plotAsRaster(short,bool, AcDbObjectId, AcDbObjectId);
44 bool __cdecl plotHidden(short, AcDbObjectId, AcDbObjectId, AcDbDatabase *, AcViewport *);
45 bool __cdecl setTableHeight(int, AcDbObjectId const &, AcDbTable *);
46 AcDbDimension * __cdecl cloneLastDim(void);
47 AcDbDimension * __cdecl openLastDim(void);
48 AcDbObjectId __cdecl getDbLayerId( AcDbDatabase *);
49 AcDbObjectId __cdecl getPreviewLayerId( AcDbDatabase *);
50 AcDmComponent * __cdecl getLastDim(void);
51 AcGePoint3d __cdecl convertTo( AcGePoint3d const &,double,double);
52 AcGePoint3d __cdecl xformEcs2Ucs( AcGePoint3d const &, AcGeVector3d);
53 AcGePoint3d __cdecl xformWcs2Ucs( AcGePoint3d const &);
54 AcGeVector3d __cdecl xformEcs2Ucs( AcGeVector3d const &, AcGeVector3d);
55 AcGeVector3d __cdecl xformWcs2Ucs( AcGeVector3d const &);
56 double __cdecl angleTo( AcGePoint3d const &, AcGePoint3d const &);
57 double __cdecl distanTo( AcGePoint3d const &, AcGePoint3d const &);
58 double __cdecl distsqTo( AcGePoint3d const &, AcGePoint3d const &);
59 double __cdecl fixAngle(double);
60 double __cdecl getMinColumnWidth( AcDbObjectId const &,bool);
61 double __cdecl getRowHeight(int, AcDb::RowType, AcDbObjectId const &);
62 double __cdecl getRowHeight(int, AcDb::RowType, AcDbTableStyle const *);
63 double __cdecl includedAngle(double,double);
64 double __cdecl userToLocalAngle( AcGeMatrix3d const &);
65 double __cdecl userToLocalAngle( AcGeVector3d const &, AcGeVector3d const &);
66 Acad::ErrorStatus __cdecl addToBlockTable(wchar_t const *, AcDbObjectId &, AcDbEntity *);
67 Acad::ErrorStatus __cdecl appendEntities( AcDbVoidPtrArray const &, AcDbDatabase *,wchar_t const *);
68 Acad::ErrorStatus __cdecl appendExplodedEntity( AcDbEntity *);
69 Acad::ErrorStatus __cdecl getBlockTableFromCurrentDatabase( AcDbBlockTable * &, AcDb::OpenMode);
70 Acad::ErrorStatus __cdecl getCurrentDatabase( AcDbDatabase * &);
72 Acad::ErrorStatus __cdecl mapRenderModeToVisualStyle( AcDbAbstractViewTableRecord::RenderMode, AcDbDatabase *, AcDbObjectId &);
73 Acad::ErrorStatus __cdecl mapVisualStyleToRenderMode( AcDbObjectId, AcDbDatabase *, AcDbAbstractViewTableRecord::RenderMode &);
74 Acad::ErrorStatus __cdecl postToDatabase( AcDbEntity *, AcDbDatabase *,wchar_t const *);
75 Acad::ErrorStatus __cdecl postToDatabase( AcDbEntity *, AcDbDatabase *,wchar_t const *, AcDbObjectId &);
76 Acad::ErrorStatus __cdecl postToDatabase( AcDbEntity *, AcDbDatabase *,wchar_t const *, AcDbObjectId &,int);
77 Acad::ErrorStatus __cdecl setLastDim( AcDbDimension *);
78 Acad::ErrorStatus __cdecl setLastDim( AcDbObjectId);
79 int __cdecl equalTo( AcGePoint3d const &, AcGePoint3d const &);
80 int __cdecl fuzzySignEq(double,double);
81 int __cdecl getMinDistanceIndex( AcGePoint3d const &, AcArray< AcGePoint3d, AcArrayMemCopyReallocator< AcGePoint3d> > const &);
82 int __cdecl getUcs2Wcs( AcGeMatrix3d &);
83 int __cdecl getWcs2Ucs( AcGeMatrix3d &);
84 int __cdecl inAngRange(double,double,double);
85 int __cdecl inBox( AcGePoint3d const &, AcGePoint3d const &, AcGePoint3d const &);
86 int __cdecl inCurrentUcsXY( AcGeVector3d const &);
87 void __cdecl bumpDimLinePnt(double,double,double, AcGePoint3d &, AcGePoint3d, AcGePoint3d);
88 void __cdecl closeLastDim(void);
89 void __cdecl computeArcPoint( AcGePoint3d &, AcGePoint3d &, AcGePoint3d &);
90 void __cdecl getAngles( AcGePoint3d &, AcGePoint3d &, AcGePoint3d &, AcGePoint3d &,double &,double &);
95 void __cdecl rSwap(double &,double &);
96 void __cdecl sortBreaks( AcGeDoubleArray &,double,double);
97 wchar_t const * __cdecl getCachedComputerName(void);
98 wchar_t const * __cdecl getCachedUserName(void);
99
100};
ARX_API double fixAngle(double)