|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jcae.mesh.amibe.validation.QualityProcedure org.jcae.mesh.amibe.validation.DihedralAngle
public class DihedralAngle
Compute angles between adjacent triangles.
This class implements the QualityProcedure.quality(Object)
method to compute angles between adjacent triangles. The inner
products between the normal to the triangle and the normal to
adjacent triangles are computed, and the quality of the triangle
is set to the minimal value. This is very useful to detect
inverted triangles in 3D on smooth surfaces.
Field Summary |
---|
Fields inherited from class org.jcae.mesh.amibe.validation.QualityProcedure |
---|
data, EDGE, FACE, NODE, type, usageStr |
Constructor Summary | |
---|---|
DihedralAngle()
|
Method Summary | |
---|---|
float |
quality(java.lang.Object o)
Return the quality factor for a given object. |
protected void |
setValidationFeatures()
|
Methods inherited from class org.jcae.mesh.amibe.validation.QualityProcedure |
---|
bindResult, finish, getListSubClasses, getMeshTraitsBuilder, getScaleFactor, getType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DihedralAngle()
Method Detail |
---|
protected void setValidationFeatures()
setValidationFeatures
in class QualityProcedure
public float quality(java.lang.Object o)
QualityProcedure
quality
in class QualityProcedure
o
- entity at which quality is computed
Returns quality factor.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |