/////////////////////////////////////////////////////////////////////////////// // Copyright (C) 2002-2016, Open Design Alliance (the "Alliance"). // All rights reserved. // // This software and its documentation and related materials are owned by // the Alliance. The software may only be incorporated into application // programs owned by members of the Alliance, subject to a signed // Membership Agreement and Supplemental Software License Agreement with the // Alliance. The structure and organization of this software are the valuable // trade secrets of the Alliance and its suppliers. The software is also // protected by copyright law and international treaty provisions. Application // programs incorporating this software must include the following statement // with their copyright notices: // // This application incorporates Teigha(R) software pursuant to a license // agreement with Open Design Alliance. // Teigha(R) Copyright (C) 2002-2016 by Open Design Alliance. // All rights reserved. // // By use of this software, its documentation or related materials, you // acknowledge and accept the above terms. /////////////////////////////////////////////////////////////////////////////// #ifndef _OD_DB_BLOCK_2PT_PARAM_ENTITY_ #define _OD_DB_BLOCK_2PT_PARAM_ENTITY_ #include "TD_PackPush.h" #include "DbBlockParameterEntity.h" class OdDbBlock2PtParameter; /** \details This class implements the OdDbBlock2PtParameterEntity object in the database. */ class DYNBLOCKS_EXPORT OdDbBlock2PtParameterEntity: public OdDbBlockParameterEntity { public: ODDB_DECLARE_MEMBERS(OdDbBlock2PtParameterEntity); OdGePoint3d definitionBasePoint() const; OdGePoint3d definitionEndPoint() const; void setDefinitionBasePoint( const OdGePoint3d& ); void setDefinitionEndPoint( const OdGePoint3d&); virtual OdResult subTransformBy(const OdGeMatrix3d& xfm); virtual OdResult subGetGripPoints( OdGePoint3dArray& gripPoints ) const; virtual OdResult subMoveGripPointsAt(const OdIntArray& indices,const OdGeVector3d& offset ); protected: /** \details Builds an instance of the object. */ OdDbBlock2PtParameterEntity(); }; /** \details The typified smart pointer for the object. This template class is specialization of the OdSmartPtr class for the OdDbBlock2PtParameterEntity class. \sa */ typedef OdSmartPtr OdDbBlock2PtParameterEntityPtr; #include "TD_PackPop.h" #endif