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. 

 

 
Name 
Description 
 
Default constructor for objects of the OdDbSurface class. 
 
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.
 
 
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 stores the result of the intersection in an array.
 
 
Determines the behavior for custom objects when saving to .dwg or .dxf file.
 
 
Reads the .dwg file data of this object.
 
 
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.
 
 
Returns a mesh for a face.
 
 
Returns the current perimeter value of the surface.
 
 
Retrieves the color of a given subentity.
 
 
Retrieves the material of a given subentity.
 
 
Retrieves the material mapper of a given subentity.
 
 
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.
 
 
For internal use only.
 
 
For internal use only.
 
 
Returns true if and only if there is no ACIS model associated with this entity.
 
 
Returns the number of changes occurred since the solid's creation.
 
 
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.
 
 
Creates a geometric representation of the entity for saving proxy graphics or converting to previous formats.
 
 
Directly sets the contained modeler geometry of this entity.
 
 
Sets the color of a given subentity.
 
 
Sets the material of a given subentity.
 
 
Sets the material mapper of a given subentity.
 
 
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.
 
 
Called as the first operation as this object is being closed, for database -resident objects only. 
 
Explodes this entity into a set of simpler entities. Entities resulting from the explosion are appended to the specified array.
 
 
Retrieves the class information.
 
 
Calculates geometrical extents of this surface.
 
 
Gets all graphic system markers by subentity paths.
 
 
Gets all subentity paths by a graphic system marker.
 
 
Retrieves the copied version of this surface transformed by the specified transformation matrix.
 
 
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.
 
 
Creates a copy of a subentity.
 
 
Applies the specified 3D transformation matrix to this entity. Only available if transformation is uniform.
 
 
Takes a pointer to an OdGiViewportDraw object and builds the view — a specific representation of an entity.
 
 
Creates a viewport-independent geometric representation of this object.
 
 
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 projection directions 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–2021. Open Design Alliance. All rights reserved.