Class PointCloudFacetImpl
java.lang.Object
cz.fidentis.analyst.data.mesh.impl.facet.MeshFacetImpl
cz.fidentis.analyst.data.mesh.impl.facet.PointCloudFacetImpl
- All Implemented Interfaces:
MeshFacet
,Serializable
,Iterable<MeshTriangle>
A special facet consisting of mesh points only, without mesh topology (edges).
Therefore, many methods are not implemented.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
REPLACE WITH BETTER IMPLEMENTATIONList
<javax.vecmath.Point3d> This method is not supporteddouble
curvatureDistance
(javax.vecmath.Point3d point, int vertexIndex) This method is not supportedgetAdjacentTriangles
(int vertexIndex) This method is not supportedjavax.vecmath.Point3d
getClosestAdjacentPoint
(javax.vecmath.Point3d point, int vertexIndex) This method is not supportedint
This method is not supportedgetOneRingNeighborhood
(int vertexIndex) This method is not supportedThis method is not supportediterator()
This method is not supportedboolean
simplify()
This method is not supportedMethods inherited from class cz.fidentis.analyst.data.mesh.impl.facet.MeshFacetImpl
accept, addVertex, getAdjacentTriangles, getAdjacentTriangles, getCornerTable, getNeighboringTriangles, getNumberOfVertices, getVertex, getVertices, hasVertexNormals
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
PointCloudFacetImpl
Constructor.- Parameters:
meshPoints
- Points of the mesh (point cloud). Must not benull
-
-
Method Details
-
calculateVertexNormals
public void calculateVertexNormals()Description copied from class:MeshFacetImpl
REPLACE WITH BETTER IMPLEMENTATION- Specified by:
calculateVertexNormals
in interfaceMeshFacet
- Overrides:
calculateVertexNormals
in classMeshFacetImpl
-
getNumTriangles
public int getNumTriangles()This method is not supported- Specified by:
getNumTriangles
in interfaceMeshFacet
- Overrides:
getNumTriangles
in classMeshFacetImpl
- Returns:
-
getTriangles
This method is not supported- Specified by:
getTriangles
in interfaceMeshFacet
- Overrides:
getTriangles
in classMeshFacetImpl
- Returns:
- triangles of the mesh facet
-
getAdjacentTriangles
This method is not supported- Specified by:
getAdjacentTriangles
in interfaceMeshFacet
- Overrides:
getAdjacentTriangles
in classMeshFacetImpl
- Parameters:
vertexIndex
-- Returns:
-
getClosestAdjacentPoint
public javax.vecmath.Point3d getClosestAdjacentPoint(javax.vecmath.Point3d point, int vertexIndex) This method is not supported- Specified by:
getClosestAdjacentPoint
in interfaceMeshFacet
- Overrides:
getClosestAdjacentPoint
in classMeshFacetImpl
- Parameters:
point
-vertexIndex
-- Returns:
-
curvatureDistance
public double curvatureDistance(javax.vecmath.Point3d point, int vertexIndex) This method is not supported- Specified by:
curvatureDistance
in interfaceMeshFacet
- Overrides:
curvatureDistance
in classMeshFacetImpl
- Parameters:
point
-vertexIndex
-- Returns:
-
iterator
This method is not supported- Specified by:
iterator
in interfaceIterable<MeshTriangle>
- Overrides:
iterator
in classMeshFacetImpl
- Returns:
-
calculateVoronoiPoints
This method is not supported- Specified by:
calculateVoronoiPoints
in interfaceMeshFacet
- Overrides:
calculateVoronoiPoints
in classMeshFacetImpl
- Returns:
-
getOneRingNeighborhood
This method is not supported- Specified by:
getOneRingNeighborhood
in interfaceMeshFacet
- Overrides:
getOneRingNeighborhood
in classMeshFacetImpl
- Parameters:
vertexIndex
-- Returns:
-
simplify
public boolean simplify()This method is not supported- Specified by:
simplify
in interfaceMeshFacet
- Overrides:
simplify
in classMeshFacetImpl
- Returns:
-