CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
DbConstraintsInterfacePE.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2024, Open Design Alliance (the "Alliance").
3// All rights reserved.
4//
5// This software and its documentation and related materials are owned by
6// the Alliance. The software may only be incorporated into application
7// programs owned by members of the Alliance, subject to a signed
8// Membership Agreement and Supplemental Software License Agreement with the
9// Alliance. The structure and organization of this software are the valuable
10// trade secrets of the Alliance and its suppliers. The software is also
11// protected by copyright law and international treaty provisions. Application
12// programs incorporating this software must include the following statement
13// with their copyright notices:
14//
15// This application incorporates Open Design Alliance software pursuant to a license
16// agreement with Open Design Alliance.
17// Open Design Alliance Copyright (C) 2002-2024 by Open Design Alliance.
18// All rights reserved.
19//
20// By use of this software, its documentation or related materials, you
21// acknowledge and accept the above terms.
23
24#ifndef _ODDBCONSTRAINTSINTERFACEPE_INCLUDED_
25#define _ODDBCONSTRAINTSINTERFACEPE_INCLUDED_
26
27#include "DbExport.h"
28#include "DbObject.h"
29
30class OdDbEvalContext;
31
32//DOM-IGNORE-BEGIN
33// this is temporary internal interface between dynamic blocks and constraints
36{
38 virtual OdResult getAssocVariable(const OdDbObject* pObject, OdDbObjectId& varId) { return eNotImplemented; }
39 virtual OdResult isAssocVariableDependent(const OdDbObject* pObject, bool& bDependent) { return eNotImplemented; }
40 virtual OdResult evaluateNetwork(const OdDbObjectId& blockId, OdDbEvalContext* pContext) { return eNotImplemented; }
41 virtual OdResult getConstrainedArc(const OdDbObject* pAssocVar, const OdDbObjectId& blockId, OdGeCircArc3d& arc) { return eNotImplemented; }
42 virtual OdResult getAngularConstraintSegmentType(const OdDbObject* pAssocVar, bool& bCCW, bool& bAntiparallel) { return eNotImplemented; }
43 virtual OdResult getAngularConstraintRefEnt(const OdDbObject* pAssocVar, const OdDbObjectId& blockId, OdDbObjectId& refEntId) { return eNotImplemented; }
44 virtual OdResult getDistanceConstraint(const OdDbObject* pAssocVar, const OdDbObjectId& blockId,
45 OdGePoint3d& startPt, OdGePoint3d& endPt) {
46 return eNotImplemented;
47 }
50 virtual OdResult setAssocVariableValue(const OdDbObject* pObject, OdDbObjectId blockId, const OdResBuf* value);
51};
52
55//DOM-IGNORE-END
56#endif // _ODDBCONSTRAINTSINTERFACEPE_INCLUDED_
OdSmartPtr< OdDbConstraintsInterfacePE > OdDbConstraintsInterfacePEPtr
OdSmartPtr< OdResBuf > OdResBufPtr
Definition DbDatabase.h:105
#define DBENT_EXPORT
Definition DbExport.h:67
#define eNotImplemented
OdResult
Definition OdResult.h:29
GLuint const GLchar * name
Definition gles2_ext.h:265
GLsizei const GLfloat * value
Definition gles2_ext.h:302
ODRX_DECLARE_MEMBERS(OdDbConstraintsInterfacePE)
virtual OdResult getConstrainedArc(const OdDbObject *pAssocVar, const OdDbObjectId &blockId, OdGeCircArc3d &arc)
virtual OdResult getAssocVariable(const OdDbObject *pObject, OdDbObjectId &varId)
virtual OdResult getAngularConstraintSegmentType(const OdDbObject *pAssocVar, bool &bCCW, bool &bAntiparallel)
virtual OdResult isAssocVariableDependent(const OdDbObject *pObject, bool &bDependent)
virtual OdResult getAssocVariableName(const OdDbObject *pObject, OdString &name)
virtual OdResult evaluateNetwork(const OdDbObjectId &blockId, OdDbEvalContext *pContext)
virtual OdResult getAngularConstraintRefEnt(const OdDbObject *pAssocVar, const OdDbObjectId &blockId, OdDbObjectId &refEntId)
virtual OdResult getAssocVariableValue(const OdDbObject *pObject, OdDbObjectId blockId, OdResBufPtr &value)
virtual OdResult getDistanceConstraint(const OdDbObject *pAssocVar, const OdDbObjectId &blockId, OdGePoint3d &startPt, OdGePoint3d &endPt)
virtual OdResult setAssocVariableValue(const OdDbObject *pObject, OdDbObjectId blockId, const OdResBuf *value)