25#ifndef _DBSURFACE_H_INCLUDED_
26#define _DBSURFACE_H_INCLUDED_
272 bool& exchangeXData);
498 unsigned int flags)
const;
990 bool bAssociativeEnabled);
1071 double dOffsetDistance,
1093 double dOffsetDistance,
1094 bool bAssociativeEnabled,
1119 bool bAssociativeEnabled,
1129 bool bAssociativeEnabled,
1138 bool bAssociativeEnabled );
OdSmartPtr< OdDbSurface > OdDbSurfacePtr
OdArray< OdDbNurbSurfacePtr > OdDbNurbSurfacePtrArray
OdSmartPtr< OdDbNurbSurface > OdDbNurbSurfacePtr
virtual OdResult convertToRegion(OdDbEntityPtrArray ®ions)
virtual void copyFrom(const OdRxObject *pSource) ODRX_OVERRIDE
virtual OdResult booleanUnion(const OdDbSurface *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, 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 void saveAs(OdGiWorldDraw *pWd, OdDb::DwgVersion ver) const
virtual OdResult imprintEntity(const OdDbEntityPtr pEntity)
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
static OdResult createOffsetSurface(OdDbEntity *pInputSurface, double dOffsetDistance, bool bAssociativeEnabled, OdDbObjectId &offsetSurfaceId)
virtual OdResult booleanIntersect(const OdDb3dSolid *pSolid, OdDbEntityPtrArray &intersectionEntities)
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 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
OdResult acisOut(OdStreamBuf *pStreamBuf, AfTypeVer typeVer=kAfTypeVerAny) 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 convertToNurbSurface(OdDbNurbSurfacePtrArray &nurbSurfaceArray)
virtual void subViewportDraw(OdGiViewportDraw *pVd) const
virtual OdUInt32 numChanges() const
virtual OdResult sliceBySurface(const OdDbSurfacePtr pSlicingSurface, OdDbSurfacePtr &pNegHalfSurface, OdDbSurfacePtr &pNewSurface)
virtual void subHandOverTo(OdDbObject *pNewObject)
static OdResult createOffsetSurface(OdDbEntity *pInputSurface, double dOffsetDistance, OdDbEntityPtr &offsetSurface)
virtual OdDbSubentId internalSubentId(void *ent) const
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
virtual OdResult subGetGsMarkersAtSubentPath(const OdDbFullSubentPath &subPath, OdGsMarkerArray &gsMarkers) const
virtual void * body() 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 OdResult booleanSubtract(const OdDb3dSolid *pSolid, OdDbSurfacePtr &pNewSurface)
virtual OdDbObjectPtr decomposeForSave(OdDb::DwgVersion ver, OdDbObjectId &replaceId, bool &exchangeXData)
bool getFaceMesh(GeMesh::OdGeTrMesh &mesh, OdGsMarker iFace, const wrTriangulationParams &triangulationParams) const
virtual void * internalSubentPtr(const OdDbSubentId &id) const
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 subExplode(OdRxObjectPtrArray &entitySet) const
OdResult extendEdges(OdDbFullSubentPathArray &edgesId, double dExtDist, EdgeExtensionType extOption, bool bAssociativeEnabled)
virtual OdResult booleanIntersect(const OdDbSurface *pSurface, OdDbEntityPtrArray &intersectionEntities)
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 booleanSubtract(const OdDbSurface *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