API Reference > OdDb Classes > OdDbVertexRef Class > OdDbVertexRef Methods > OdDbVertexRef::entity Method
OdDbVertexRef::entity Method
Syntax
C++
virtual const OdDbCompoundObjectId& entity() const;

Checks whether this vertex reference is empty. 

If referencedRef() is not NULL, returns its OdDbCompoundObjectId, otherwise returns OdDbCompoundObjectId from the base-class OdDbSubentRef.

Copyright © 2002–2021. Open Design Alliance. All rights reserved.