Class SymmetryVisitorRobustMesh.ProcessedCloud

java.lang.Object
cz.fidentis.analyst.engines.symmetry.impl.SymmetryVisitorRobustMesh.ProcessedCloud
Enclosing class:
SymmetryVisitorRobustMesh

public static class SymmetryVisitorRobustMesh.ProcessedCloud extends Object
A helper class that copies input mesh point and moves them so that the given centroid is in the space origin. Also, it computes some additional data
  • Field Details

    • AVG_CUR_MAGIC_MULTIPLIER

      public static final double AVG_CUR_MAGIC_MULTIPLIER
      See Also:
  • Constructor Details

    • ProcessedCloud

      public ProcessedCloud(List<MeshPoint> points, javax.vecmath.Point3d centroid)
      Moves orig points so that the centroid is in the space origin, copies them into a new list. Also, computes the average distance of orig points to the centroid (= average distance of shifted points into the space origin).
      Parameters:
      points - Original mesh point
      centroid - Centroid.
  • Method Details

    • getCurvatureSumilarity

      public double getCurvatureSumilarity(MeshPoint p1, MeshPoint p2)
      Returns similarity of Gaussian curvature.
      Parameters:
      p1 - First point
      p2 - Second point
      Returns:
      similarity of Gaussian curvature.
    • getPoint

      public MeshPoint getPoint(int i)
      Returns i-th transformed point
      Parameters:
      i - index
      Returns:
      i-th transformed point
    • getNumPoints

      public int getNumPoints()
      Returns the number of points.
      Returns:
      the number of points.
    • getAvgCurvature

      public double getAvgCurvature()
    • getAvgDistance

      public double getAvgDistance()