Static Public Attributes
edu.tum.cs.vis.model.util.Thresholds Class Reference

List of all members.

Static Public Attributes

static final float ANGLE_TOLERANCE = 0.25f
static final float DISTANCE_TOLERANCE = 1e-5f
static final boolean FAST_NEIGHBOR_DETECTION = false

Detailed Description

Class that implements some parameters used in the CAD mesh parsing and initialization of components and their neighboring relations according to the model geometry.

Author:
Andrei Stoica

Definition at line 17 of file Thresholds.java.


Member Data Documentation

Maximum angle tolerance (in degrees) for deciding whether or not two lines are parallel which is applied to the acute angle formed by the directions of the two lines.

Definition at line 29 of file Thresholds.java.

Maximum distance tolerance under the Euclidean geometry for two 3D points to be considered one and the same. This parameter is used in analyzing the neighboring relations among the triangles that form the faces of the mesh.

Definition at line 23 of file Thresholds.java.

Flag for using a fast direct neighbor detection based only on checking if exactly two vertices of two triangles have exactly the same coordinates. This method is quick but not very efficient for distorted irregular meshes like the ones scanned from real life objects. The alternative is to use a slow but very accurate method which checks whether two triangle share only one support line for one each of each of them, such that partial overlays are also detected.

Definition at line 39 of file Thresholds.java.


The documentation for this class was generated from the following file:


knowrob_cad_parser
Author(s): Stefan Profanter
autogenerated on Mon Oct 6 2014 01:29:56