API Reference > OdDb Classes > OdDbSurface Class
OdDbSurface Class
OdDbSurfaceOdDbSurfaceOdDbSurfaceOdDbSurfaceOdDbSurfaceOdDbSurfaceOdDbSurfaceOdDbSurfaceOdDbSurface
Syntax
C++
class OdDbSurface : public OdDbEntity;

DbSurface.h

This class implements a three-dimensional surface entity.

TD_Db 

 

 
Name 
Description 
 
This is OdDbSurface, a member of class OdDbSurface. 
 
Name 
Description 
 
Reads the ACIS data for this entity from the specified StreamBuf object, or reads an array of ACIS solids from the specified file.
 
 
Writes the ACIS data of this entity to the specified StreamBuf object, or writes the specified ACIS solids to the specified file.
 
 
body 
Returns the current modeler geometry. 
 
This is the overview for the booleanIntersect method overload. 
 
This is the overview for the booleanSubtract method overload. 
 
Performs a Boolean union operation with two surfaces: this one and another specified surface. Creates a new surface entity as a result.
 
 
brep 
Returns the boundary representation of the 3D solid entity.  
 
Creates associative chamfers at the specified edges of the surface.
 
 
Converts the surface to nurb surfaces.
 
 
Creates region (OdDbRegion class) entities for each face of the surface.
 
 
This method is not implemented. 
 
This is the overview for the createFilletSurface method overload. 
 
Creates an extruded surface from a 2D entity with thickness or a planar surface from a closed curve or region.
 
 
Creates new entities that represent the result of interference between the surface and specified entity. Created entities are appended to the specified array.
 
 
This is the overview for the createOffsetSurface method overload. 
 
Intersects the specified plane with the surface and creates the intersection in a resulting array.
 
 
Determines the behavior for custom objects when saving to .dwg or .dxf file.
 
 
OdDbObject methods 
 
Writes the .dwg file data of this object.
 
 
Reads the DXF data of this object.
 
 
Writes the DXF data of this object.
 
 
This method is not implemented. 
 
Creates rounded fillets along the specified edges of the surface.
 
 
Calculates the total surface area.
 
 
This is getFaceMesh, a member of class OdDbSurface. 
 
Returns the current perimeter value of the surface.
 
 
This is getSubentColor, a member of class OdDbSurface. 
 
This is getSubentMaterial, a member of class OdDbSurface. 
 
This is getSubentMaterialMapper, a member of class OdDbSurface. 
 
Intersects the specified entity with the surface and imprints the intersection graph onto the surface.
In the case of creating a closed loop of edges, a new face is created. In the case of creating an open loop of edges, it can be added as a spur to an existing loop on a face or as a slit in the face.
 
 
This method is implemented only for Spatial modeler and returns eNotImplementedYet status for other modelers. 
 
This method is implemented only for Spatial modeler and returns eNotImplementedYet status for other modelers. 
 
Returns true if and only if there is no ACIS model associated with this entity. 
 
This is ODDB_DECLARE_MEMBERS, a member of class OdDbSurface. 
 
Creates entities by projecting the specified entity along the projection direction to the surface.
 
 
Creates a ray which starts from a specified point and has a specified direction.
 
 
Directly sets the contained modeler geometry of this entity.
 
 
This is setSubentColor, a member of class OdDbSurface. 
 
This is setSubentMaterial, a member of class OdDbSurface. 
 
This is setSubentMaterialMapper, a member of class OdDbSurface. 
 
Sets the number of isolines in the U direction of the surface, displayed in wireframe mode for visualization.
 
 
Sets the number of isolines in the V direction of the surface, displayed in wireframe mode for visualization.
 
 
Slices the surface with the specified plane and sets the surface to be the portion on the positive normal side plane.
 
 
Slices the surface with the specified surface.
 
 
This is subExplode, a member of class OdDbSurface. 
 
overridables 
 
This is subGetGeomExtents, a member of class OdDbSurface. 
 
This is subGetGsMarkersAtSubentPath, a member of class OdDbSurface. 
 
This is subGetSubentPathsAtGsMarker, a member of class OdDbSurface. 
 
This is subGetTransformedCopy, a member of class OdDbSurface. 
 
Called as the first operation of the handOverTo function.
 
 
Sets the values of this object's subentity traits, and returns with the calling object's subentity traits.
 
 
This is subSubentPtr, a member of class OdDbSurface. 
 
This is subTransformBy, a member of class OdDbSurface. 
 
Takes a pointer to an OdGiViewportDraw objectand builds the view - specific representation of an entity.
 
 
This is subWorldDraw, a member of class OdDbSurface. 
 
Creates a 3D solid object by thickening the surface by a specified amount.
 
 
Trims a surface with specified cutting surfaces (curves). A surface can be trimmed by other surfaces or curves. When curves are used, the actual trimming boundary is formed by projecting the curves onto the surface, so the additional information of project direction needs to be provided.
 
 
Returns the number of isolines in the U direction of the surface, displayed in wireframe mode for visualization. 
 
Returns the number of isolines in the V direction of the surface, displayed in wireframe mode for visualization. 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.