FRX SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
AcDbVertexRef.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 "AcDbSubEntRef.h"
20#include "AcDbEdgeRef.h"
21
23{
24public:
26
38
41 virtual ~AcDbVertexRef();
44 explicit AcDbVertexRef(const AcDbEntity*);
45 explicit AcDbVertexRef(const AcGePoint3d&);
48 virtual void reset() override;
49 virtual bool isValid() const override;
50 virtual const AcDbCompoundObjectId& entity() override;
51 virtual AcDbSubentId subentId() const override;
54 int index() const;
56 virtual Acad::ErrorStatus evaluatePoint(AcGePoint3d&) const;
57 class AcDbEntity* createEntity() const override;
58 virtual Acad::ErrorStatus evaluateAndCacheGeometry() override;
59 virtual Acad::ErrorStatus copyFrom( AcRxObject const* ) override;
60
61private:
62 AcDbGeomRef* m_pRef;
63};
ARX_API_GLOBAL const AcDbSubentId kNullSubentId
AcDbSubentRef & operator=(const AcDbSubentRef &)
virtual Acad::ErrorStatus evaluatePoint(AcGePoint3d &) const
virtual Acad::ErrorStatus evaluateAndCacheGeometry() override
class AcDbEntity * createEntity() const override
virtual Acad::ErrorStatus copyFrom(AcRxObject const *) override
AcDbVertexRef(const AcDbFullSubentPath &)
AcDbVertexRef(const AcDbEntity *)
AcDbVertexRef(const AcDbCompoundObjectId &, const AcDbSubentId &=kNullSubentId, const AcGePoint3d &=AcGePoint3d::kOrigin)
const AcDbGeomRef * referencedRef()
ACRX_DECLARE_MEMBERS(AcDbVertexRef)
AcDbVertexRef(const AcGePoint3d &)
AcGePoint3d point() const
virtual void reset() override
virtual bool isValid() const override
virtual AcDbSubentId subentId() const override
virtual const AcDbCompoundObjectId & entity() override
int index() const
AcDbVertexRef(const AcDbVertexRef &)
virtual ~AcDbVertexRef()
AcDbVertexRef(ImpliedType, const AcDbEdgeRef &, int=0, const AcGePoint3d &=AcGePoint3d::kOrigin)
AcDbVertexRef::ImpliedType impliedType() const
static ARX_API_STATIC AcGePoint3d const kOrigin
Definition AcGePoint3d.h:29