Share

MeshFaceterSettings Structure

C++

struct MeshFaceterSettings {
  double faceterDevSurface;
  double faceterDevNormal;
  double faceterGridRatio;
  double faceterMaxEdgeLength;
  Adesk::UInt16 faceterMaxGrid;
  Adesk::UInt16 faceterMinUGrid;
  Adesk::UInt16 faceterMinVGrid;
  Adesk::Int16 faceterMeshType;
};

File

dbSubD.h

Members

Members Description
faceterDevSurface This value is used (when subdividing the edges and also when placing the grid lines across the face) to control the deviation of the mesh from the FACE. Set the "surface tolerance" using the function set_surface_tol. The smaller the input value, the closer the mesh will approximate the face (at the expense of creating more facets). The default value is 0.001 * diagonal of the bounding box of the entity being faceted.
faceterDevNormal This value is used (when subdividing the edges and also when placing the grid lines across the face) to control the angle between facets in the mesh. Set the "normal tolerance" using the function set_normal_tol. (This value is sometimes used to keep small ellipses from being approximated by a rectangle.) The default value is 40 degrees.
faceterGridRatio Sets the maximum aspect ratio for the (quads in the) grid
faceterMaxEdgeLength Sets the maximum number of grid lines that may be used
faceterMaxGrid Sets the maximum number of grid lines that may be used.
faceterMinUGrid Sets the minimum number of U parameter grid lines.
faceterMinVGrid Sets the minimum number of V parameter grid lines.
faceterMeshType 0: for new quad type,1: for hybrid type(triangle & quad),2: for triangle type

Description

Faceter settings to be used with acdbGetObjectMesh method.

Was this information helpful?