FRX SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
AcDb3dProfile.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
20#include "..\addStruct.h"
21
22class AcDbPathRef;
24
26{
27public:
36 virtual ~AcDb3dProfile();
37
38 Acad::ErrorStatus getPathRef(AcDbPathRef &)const;
40 Acad::ErrorStatus getVertexRef(AcDbVertexRef &) const;
41
42 Acad::ErrorStatus set(const AcDbPathRef &);
43 Acad::ErrorStatus set(const AcDbVertexRef &);
44 Acad::ErrorStatus set(AcDbEntity *);
45
46 bool isClosed() const;
47 bool isPlanar() const;
48 bool isSubent() const;
49 bool isFace() const;
50 bool isEdge() const;
51 bool isValid() const;
52
53 Acad::ErrorStatus convertProfile(bool, bool, bool, bool, AcArray<AcDb3dProfile*>& ) const;
55 static Acad::ErrorStatus mergeProfiles(const AcArray<AcDb3dProfile*>& , bool, bool, AcArray<AcDb3dProfile*>&);
56
57protected:
59};
AcDb3dProfileData * m_pProfData
AcDb3dProfile(AcDbEntity *)
Acad::ErrorStatus set(const AcDbPathRef &)
AcDb3dProfile(const AcDbVertexRef &)
AcDbEntity * entity() const
virtual ~AcDb3dProfile()
bool isValid() const
bool isClosed() const
bool isPlanar() const
Acad::ErrorStatus getVertexRef(AcDbVertexRef &) const
static Acad::ErrorStatus mergeProfiles(const AcArray< AcDb3dProfile * > &, bool, bool, AcArray< AcDb3dProfile * > &)
AcDb3dProfile(const AcDbFullSubentPath &)
static AcDb3dProfile * convertProfile(const AcArray< AcDbPathRef > &)
Acad::ErrorStatus set(const AcDbVertexRef &)
AcDb3dProfile(AcDb3dProfile &)
bool isFace() const
Acad::ErrorStatus convertProfile(bool, bool, bool, bool, AcArray< AcDb3dProfile * > &) const
Acad::ErrorStatus getPathRef(AcDbPathRef &) const
ACRX_DECLARE_MEMBERS(AcDb3dProfile)
Acad::ErrorStatus set(AcDbEntity *)
bool isSubent() const
bool isEdge() const
AcDb3dProfile(const AcDbPathRef &)