25 #ifndef _DBSURFACE_H_INCLUDED_
26 #define _DBSURFACE_H_INCLUDED_
211 bool& exchangeXData);
282 unsigned int flags )
const;
539 bool bAssociativeEnabled);
609 double dOffsetDistance,
628 double dOffsetDistance,
629 bool bAssociativeEnabled,
654 bool bAssociativeEnabled,
664 bool bAssociativeEnabled,
673 bool bAssociativeEnabled );
OdSmartPtr< OdDbSurface > OdDbSurfacePtr
OdArray< OdDbNurbSurface *, OdMemoryAllocator< OdDbNurbSurface * > > OdDbNurbSurfaceArray
virtual OdResult convertToRegion(OdDbEntityPtrArray ®ions)
static OdResult createFilletSurface(const OdDbObjectId &surfId1, const OdGePoint3d &pickPt1, const OdDbObjectId &surfId2, const OdGePoint3d &pickPt2, double dRadius, OdDb::FilletTrimMode trimMode, const OdGeVector3d &projDir, bool bAssociativeEnabled, OdDbObjectId &filletSurfaceId)
OdResult acisIn(OdStreamBuf *pStreamBuf, AfTypeVer *pTypeVer=0)
virtual OdResult subGetSubentPathsAtGsMarker(OdDb::SubentType type, OdGsMarker gsMark, const OdGePoint3d &pickPoint, const OdGeMatrix3d &viewXform, OdDbFullSubentPathArray &subentPaths, const OdDbObjectIdArray *pEntAndInsertStack=0) const
static OdResult createExtendSurface(OdDbObjectId sourceSurface, const OdArray< OdDbSubentId > &edgesId, double dExtDist, EdgeExtensionType extOption, bool bAssociativeEnabled, OdDbObjectId &newExtendSurfaceId)
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
virtual OdResult imprintEntity(const OdDbEntityPtr pEntity)
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
virtual OdResult booleanIntersect(const OdDb3dSolidPtr pSolid, OdDbEntityPtrArray &intersectionEntities)
static OdResult createOffsetSurface(OdDbEntity *pInputSurface, double dOffsetDistance, bool bAssociativeEnabled, OdDbObjectId &offsetSurfaceId)
virtual OdResult booleanSubtract(const OdDbSurfacePtr pSurface, OdDbSurfacePtr &pNewSurface)
OdResult projectOnToSurface(const OdDbEntity *pEntityToProject, const OdGeVector3d &projectionDirection, OdDbEntityPtrArray &projectedEntities) const
virtual OdResult filletEdges(const OdArray< OdDbSubentId * > &edgeSubentIds, const OdGeDoubleArray &radius, const OdGeDoubleArray &startSetback, const OdGeDoubleArray &endSetback)
virtual void setVIsolineDensity(OdUInt16 numIsolines)
virtual OdUInt32 subSetAttributes(OdGiDrawableTraits *pTraits) const
virtual OdResult getSubentMaterial(const OdDbSubentId &subentId, OdDbObjectId &matId) const
virtual OdResult getSubentMaterialMapper(const OdDbSubentId &subentId, OdGiMapper &mapper) const
virtual void setUIsolineDensity(OdUInt16 numIsolines)
virtual OdResult getSubentColor(const OdDbSubentId &subentId, OdCmColor &color) const
virtual OdResult setSubentMaterialMapper(const OdDbSubentId &subentId, const OdGiMapper &mapper)
virtual OdResult subTransformBy(const OdGeMatrix3d &xfm)
virtual OdResult booleanIntersect(const OdDbSurfacePtr pSurface2, OdDbEntityPtrArray &intersectionEntities)
virtual void * body() const
virtual OdResult subGetGeomExtents(OdGeExtents3d &extents) const
virtual OdResult chamferEdges(const OdArray< OdDbSubentId * > &edgeSubentIds, const OdDbSubentId &baseFaceSubentId, double baseDist, double otherDist)
static OdResult trimSurface(const OdDbObjectId &blankSurfaceId, const OdDbObjectIdArray &toolIds, const OdDbObjectIdArray &toolCurveIds, const OdGeVector3dArray &projVectors, const OdGePoint3d &pickPoint, const OdGeVector3d &viewVector, bool bAutoExtend, bool bAssociativeEnabled)
virtual OdResult getArea(double &area) const
virtual void * internalSubentPtr(const OdDbSubentId &id) const
virtual OdUInt16 uIsolineDensity() const
virtual OdResult createInterferenceObjects(OdDbEntityPtrArray &interferenceObjects, OdDbEntityPtr pEntity, unsigned int flags) const
virtual OdResult setSubentMaterial(const OdDbSubentId &subentId, const OdDbObjectId &matId)
virtual OdResult booleanSubtract(const OdDb3dSolidPtr pSolid, OdDbSurfacePtr &pNewSurface)
virtual OdResult sliceBySurface(const OdDbSurfacePtr pSlicingSurface, OdDbSurfacePtr &pNegHalfSurface, OdDbSurfacePtr &pNewSurface)
static OdResult createOffsetSurface(OdDbEntity *pInputSurface, double dOffsetDistance, OdDbEntityPtr &offsetSurface)
virtual OdDbSubentId internalSubentId(void *ent) const
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
OdResult acisOut(OdStreamBuf *pStreamBuf, AfTypeVer typeVer=kAfTypeVerAny)
virtual OdResult subGetGsMarkersAtSubentPath(const OdDbFullSubentPath &subPath, OdGsMarkerArray &gsMarkers) const
OdResult getPerimeter(double &) const
void brep(OdBrBrep &brep)
OdResult rayTest(const OdGePoint3d &rayBasePoint, const OdGeVector3d &rayDir, double rayRadius, OdArray< OdDbSubentId > &subEntIds, OdGeDoubleArray ¶meters) const
virtual OdDbObjectPtr decomposeForSave(OdDb::DwgVersion ver, OdDbObjectId &replaceId, bool &exchangeXData)
static OdResult createFrom(const OdDbEntity *pFromEntity, OdDbSurfacePtr &pNewSurface)
virtual bool subWorldDraw(OdGiWorldDraw *pWd) const
virtual OdResult setSubentColor(const OdDbSubentId &subentId, const OdCmColor &color)
virtual OdResult convertToNurbSurface(OdDbNurbSurfaceArray &nurbSurfaceArray)
virtual OdResult subExplode(OdRxObjectPtrArray &entitySet) const
OdResult extendEdges(OdDbFullSubentPathArray &edgesId, double dExtDist, EdgeExtensionType extOption, bool bAssociativeEnabled)
virtual OdResult setBody(const void *pGeometry)
virtual OdResult createSectionObjects(const OdGePlane §ionPlane, OdDbEntityPtrArray §ionObjects) const
ODDB_DECLARE_MEMBERS(OdDbSurface)
virtual OdResult sliceByPlane(const OdGePlane &slicePlane, OdDbSurfacePtr &pNegHalfSurface, OdDbSurfacePtr &pNewSurface)
virtual OdUInt16 vIsolineDensity() const
virtual OdResult subGetClassID(void *pClsid) const
virtual OdResult thicken(double thickness, bool bBothSides, OdDb3dSolidPtr &pSolid) const
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
virtual OdDbEntityPtr subSubentPtr(const OdDbFullSubentPath &id) const
virtual OdResult subGetTransformedCopy(const OdGeMatrix3d &mat, OdDbEntityPtr &pCopy) const
virtual OdResult booleanUnion(const OdDbSurfacePtr pSurface, OdDbSurfacePtr &pNewSurface)
static OdResult createFilletSurface(const OdDbObjectId &surfId1, const OdGePoint3d &pickPt1, const OdDbObjectId &surfId2, const OdGePoint3d &pickPt2, double dRadius, OdDb::FilletTrimMode trimMode, const OdGeVector3d &projDir, OdDbSurface *&filletSurface)
GLuint GLsizei GLsizei GLint GLenum * type