Home

va_surface_mesh_options Class Reference
[Basic operations]

Options object that controls the generation of surface meshes by the EDA Mesher. More...

#include <va_mesh_options.hxx>

Inheritance diagram for va_surface_mesh_options:

Inheritance graph
[legend]
Collaboration diagram for va_surface_mesh_options:

Collaboration graph
[legend]

List of all members.

Public Types

enum  GENERATION_MESH_SHAPE {
  SURFMESH_SHAPETRI,
  SURFMESH_SHAPEQUAD
}
 Specifies the shape of generated elements. More...
enum  MESH_ORDER {
  MESH_LINEAR = 2,
  MESH_PARABOLIC = 3
}
 Order of mesh elements to be generated. More...

Public Member Functions

logical getAcceptNonManifold ()
 Returns whether non-manifold input geometry is accepted.
logical getEnableEntityFaceting ()
 Returns whether a new mesh is to be produced by refaceting the input ENTITYs.
logical getEnableIntSurfBack ()
 Returns whether a mesh has been marked to be "tetrahedralized" when input body has internal faces.
double getGrowthRate () const
 Returns the Maximum Growth Rate.
double getMaxSpanningAngle () const
 Returns the Maximum Spanning Angle.
GENERATION_MESH_SHAPE getMeshShape () const
 Returns the shape of generated elements.
double getMinEdgeLength () const
 Returns the Minimum Edge Length.
MESH_ORDER getOrder (void) const
 Returns the order of generated elements.
double getTargetEdgeLength () const
 Returns the Target Edge Length.
va_surface_mesh_optionsoperator= (const va_surface_mesh_options &rhs)
 Assignment operator.
void setAcceptNonManifold (logical value)
 The SurfMesh module supports the surface meshing of non-manifold geometries, in which more than two input triangles share a common edge.
void setEnableEntityFaceting (logical value)
 Enables faceting mesh when attempting to generate a mesh.
void setEnableIntSurfBack (logical value)
 Facilitates generation of triangulations on the boundaries of solids which are to be subsequently tetrahedralized by the TetMesh module.
void setGrowthRate (double value)
 Sets the Maximum Growth Rate.
void setMaxSpanningAngle (double value)
 Sets the Maximum Spanning Angle.
void setMeshShape (GENERATION_MESH_SHAPE shape)
 Sets the shape of generated elements.
void setMinEdgeLength (double value)
 Sets the Minimum Edge Length.
void setOrder (MESH_ORDER order)
 Sets the order of generated elements.
void setTargetEdgeLength (double value)
 Sets the Target Edge Length.
 va_surface_mesh_options (const va_surface_mesh_options &rhs)
 Copy constructor.
 va_surface_mesh_options ()
 Default constructor.
virtual ~va_surface_mesh_options ()
 Destructor.

Private Attributes

logical m_acceptNonManifold
 Enable support for non-manifold geometries.
logical m_enableEntityFaceting
 Facet entities, thus creating surfmesh input.
logical m_enableIntSurfBack
 Enable mesh to be tetrahedralized if internal faces exist.
double m_GrowthRate
 Maximum growth rate.
double m_MaxSpanningAngle
 Maximum spanning angle in degrees for generated elements.
GENERATION_MESH_SHAPE m_MeshShape
 Shape of generated elements (i.e., Triangular, Quadrilateral).
double m_MinEdgeLength
 Minimum edge length of generated elements.
MESH_ORDER m_Order
 Order of mesh to be generated (ie. MESH_LINEAR, MESH_PARABOLIC).


Detailed Description

Options object that controls the generation of surface meshes by the EDA Mesher.

See also:
va_mesh, va_surfmesh, va_tet_mesh_options, va_base_mesh_options

Member Enumeration Documentation

Specifies the shape of generated elements.

Enumerator:
SURFMESH_SHAPETRI  Triangular shape.
SURFMESH_SHAPEQUAD  Quadrilateral shape.

Order of mesh elements to be generated.

Enumerator:
MESH_LINEAR  Linear mesh.
MESH_PARABOLIC  Parabolic mesh.


Constructor & Destructor Documentation

va_surface_mesh_options::va_surface_mesh_options (  ) 

Default constructor.

va_surface_mesh_options::va_surface_mesh_options ( const va_surface_mesh_options rhs  ) 

Copy constructor.

virtual va_surface_mesh_options::~va_surface_mesh_options (  )  [virtual]

Destructor.


Member Function Documentation

logical va_surface_mesh_options::getAcceptNonManifold (  )  [inline]

Returns whether non-manifold input geometry is accepted.

Returns:
TRUE or FALSE

logical va_surface_mesh_options::getEnableEntityFaceting (  )  [inline]

Returns whether a new mesh is to be produced by refaceting the input ENTITYs.

Returns:
TRUE or FALSE

logical va_surface_mesh_options::getEnableIntSurfBack (  )  [inline]

Returns whether a mesh has been marked to be "tetrahedralized" when input body has internal faces.

Returns:
TRUE or FALSE

double va_surface_mesh_options::getGrowthRate (  )  const [inline, virtual]

Returns the Maximum Growth Rate.

Implements va_base_mesh_options.

double va_surface_mesh_options::getMaxSpanningAngle (  )  const [inline]

Returns the Maximum Spanning Angle.

Returns:
maximum spanning angle a mesh element

GENERATION_MESH_SHAPE va_surface_mesh_options::getMeshShape (  )  const [inline]

Returns the shape of generated elements.

Returns:
shape of mesh elements

double va_surface_mesh_options::getMinEdgeLength (  )  const [inline]

Returns the Minimum Edge Length.

Returns:
minimum edge length for mesh elements

MESH_ORDER va_surface_mesh_options::getOrder ( void   )  const [inline]

Returns the order of generated elements.

double va_base_mesh_options::getTargetEdgeLength (  )  const [inline, inherited]

Returns the Target Edge Length.

Returns:
target edge length for mesh elements

va_surface_mesh_options& va_surface_mesh_options::operator= ( const va_surface_mesh_options rhs  ) 

Assignment operator.

Parameters:
rhs va_surface_mesh_options object
Returns:
Reference to va_surface_mesh_options object

void va_surface_mesh_options::setAcceptNonManifold ( logical  value  )  [inline]

The SurfMesh module supports the surface meshing of non-manifold geometries, in which more than two input triangles share a common edge.

Such geometries are common when modeling branched shell structures, assemblies of solids, multiple material solids, regions with baffles, etc. By default, however, for historical reasons, the EDA Mesher assumes that non-manifold geometry is a modeling error and attempts to remove non-manifold input triangles from the geometry. This option controls SURFMESH_NONMANIFOLD to enable support for non-manifold geometries. The default in ACIS is TRUE.

Parameters:
value TRUE/FALSE (set to TRUE by default).

void va_surface_mesh_options::setEnableEntityFaceting ( logical  value  )  [inline]

Enables faceting mesh when attempting to generate a mesh.

Note:
It is only useful if a tessellation mesh has been previously generated, and customized. If a mesh is to be generated from scratch and no previous mesh has been created, then it must be set to TRUE, otherwise the mesher will no have input geometry to work with.
Parameters:
value TRUE/FALSE (set to TRUE by default).

void va_surface_mesh_options::setEnableIntSurfBack ( logical  value  )  [inline]

Facilitates generation of triangulations on the boundaries of solids which are to be subsequently tetrahedralized by the TetMesh module.

In this case all internal triangles are replicated by a coincident triangle with opposite sense, that is, the internal triangles are "double backed". This is the convention used by the TetMesh module for flagging boundary triangles which are internal. This option enables SURFMESH_INTSURFBACK. The default value is FALSE.

Parameters:
value TRUE/FALSE (set to FALSE by default).

void va_surface_mesh_options::setGrowthRate ( double  value  )  [inline, virtual]

Sets the Maximum Growth Rate.

Parameters:
value the maximum element growth rate

Implements va_base_mesh_options.

void va_surface_mesh_options::setMaxSpanningAngle ( double  value  )  [inline]

Sets the Maximum Spanning Angle.

Parameters:
value maximum spanning angle for each mesh element.

void va_surface_mesh_options::setMeshShape ( GENERATION_MESH_SHAPE  shape  )  [inline]

Sets the shape of generated elements.

Parameters:
shape shape of mesh elements.

void va_surface_mesh_options::setMinEdgeLength ( double  value  )  [inline]

Sets the Minimum Edge Length.

Parameters:
value minimum length value of mesh elements.

void va_surface_mesh_options::setOrder ( MESH_ORDER  order  ) 

Sets the order of generated elements.

This is the order of the generated elements by specifying the number of nodes to generate along an edge. A value of LINEAR generates linear elements, a value of PARABOLIC generates parabolic elements. The default order value is LINEAR.

Parameters:
order MESH_ORDER of a VA_SURFMESH or a VA_TETMESH element

void va_base_mesh_options::setTargetEdgeLength ( double  value  )  [inline, inherited]

Sets the Target Edge Length.

Parameters:
value new target edge length value


Member Data Documentation

Enable support for non-manifold geometries.

Facet entities, thus creating surfmesh input.

Enable mesh to be tetrahedralized if internal faces exist.

Maximum growth rate.

Maximum spanning angle in degrees for generated elements.

Shape of generated elements (i.e., Triangular, Quadrilateral).

Minimum edge length of generated elements.

Order of mesh to be generated (ie. MESH_LINEAR, MESH_PARABOLIC).