scalismo.mesh.boundingSpheres

Members list

Type members

Classlikes

case class ClosestPoint(point: Point[_3D], distanceSquared: Double)

A class that contains the location and the distance to the closest point on a surface.

A class that contains the location and the distance to the closest point on a surface.

Value parameters

distanceSquared

The squared distance to the closest point location.

point

The closest point location on the surface.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class ClosestPointInTetrahedron(point: Point[_3D], distanceSquared: Double, tid: TetrahedronId, bc: BarycentricCoordinates4) extends ClosestPointWithType

The closest point is a vertex. The additional information stored is the TriangleId and the barycentric coordinates of the point.

The closest point is a vertex. The additional information stored is the TriangleId and the barycentric coordinates of the point.

Value parameters

bc

The barycentric coordinates of the closest point location.

tid

TriangleId of the tetrahedral containing the closest point.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class ClosestPointInTriangle(point: Point[_3D], distanceSquared: Double, tid: TriangleId, bc: BarycentricCoordinates) extends ClosestPointWithType

The closest point is a vertex. The additional information stored is the TriangleId and the barycentric coordinates of the point.

The closest point is a vertex. The additional information stored is the TriangleId and the barycentric coordinates of the point.

Value parameters

bc

The barycentric coordinates of the closest point location.

tid

TriangleId of the triangle containing the closest point.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class ClosestPointInTriangleOfTetrahedron(point: Point[_3D], distanceSquared: Double, tetId: TetrahedronId, triId: TriangleId, bc: BarycentricCoordinates) extends ClosestPointWithType

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class ClosestPointIsVertex(point: Point[_3D], distanceSquared: Double, pid: PointId) extends ClosestPointWithType

The closest point is a vertex. The additional information stored is the PointId of the vertex found.

The closest point is a vertex. The additional information stored is the PointId of the vertex found.

Value parameters

pid

PointId of the closest vertex.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class ClosestPointOnLine(point: Point[_3D], distanceSquared: Double, pids: (PointId, PointId), bc: Double) extends ClosestPointWithType

The closest point lies on a line. The additional information stored are the PointIds of the two end points of the line and the barycentric coordinate.

The closest point lies on a line. The additional information stored are the PointIds of the two end points of the line and the barycentric coordinate.

Value parameters

bc

The barycentric coordinates of the closest point location.

pids

Tuple of PointIds of the two end points of the line.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
sealed abstract class ClosestPointWithType(val point: Point[_3D], val distanceSquared: Double)

The base type for all closest point types with additional information about the location of the point.

The base type for all closest point types with additional information about the location of the point.

Value parameters

distanceSquared

The squared distance to the closest point location.

point

The closest point location on the surface.

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes

SpatialIndex for a set of points

SpatialIndex for a set of points

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any

SpatialIndex for a set of points.

SpatialIndex for a set of points.

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type

LineTetrahedralMesh3DIntersecitionIndex implements the interface TriangulatedSurfaceIntersectionIndex for TriangleMesh3D.

LineTetrahedralMesh3DIntersecitionIndex implements the interface TriangulatedSurfaceIntersectionIndex for TriangleMesh3D.

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class LineTetrahedralMesh3DIntersectionIndex(boundingSphere: BoundingSphere, mesh: TetrahedralMesh[_3D], tetrahedrons: Seq[Tetrahedron]) extends TetrahedralizedVolumeIntersectionIndex[_3D]

LineTetrahedralMesh3DIntersectionIndex implements the interface TetrahedralizedVolumeIntersectionIndex for Tetrahedral3D.

LineTetrahedralMesh3DIntersectionIndex implements the interface TetrahedralizedVolumeIntersectionIndex for Tetrahedral3D.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any

LineTriangleMesh3DIntersecitionIndex implements the interface TriangulatedSurfaceIntersectionIndex for TriangleMesh3D.

LineTriangleMesh3DIntersecitionIndex implements the interface TriangulatedSurfaceIntersectionIndex for TriangleMesh3D.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

LineTriangleMesh3DIntersecitionIndex implements the interface TetrahedralizedVolumeIntersectionIndex for TetrahedralMesh3D.

LineTriangleMesh3DIntersecitionIndex implements the interface TetrahedralizedVolumeIntersectionIndex for TetrahedralMesh3D.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
trait SpatialIndex[D]

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes

The SurfaceIntersectionIndex supports queries about the intersection of a line with a surface. The surface is used to build up he index. For lines in (point,direction) format one can ask if there exists any and also for the complete list of intersection points.

The SurfaceIntersectionIndex supports queries about the intersection of a line with a surface. The surface is used to build up he index. For lines in (point,direction) format one can ask if there exists any and also for the complete list of intersection points.

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait SurfaceSpatialIndex[D] extends SpatialIndex[D]

SurfaceDistance trait with the basic queries defined.

SurfaceDistance trait with the basic queries defined.

Attributes

Supertypes
trait SpatialIndex[D]
class Object
trait Matchable
class Any

Companion object for the surface distance implementation for TriangleMesh3D.

Companion object for the surface distance implementation for TriangleMesh3D.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

The TetrahedralizedVolumeIntersectionIndex is a specialization of the SurfaceIntersectionIndex for TetrahedralMeshes. The additional query return the intersection points in the (TetrahedronId,BarycentricCoordinates) format.

The TetrahedralizedVolumeIntersectionIndex is a specialization of the SurfaceIntersectionIndex for TetrahedralMeshes. The additional query return the intersection points in the (TetrahedronId,BarycentricCoordinates) format.

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes

Holds tetrahedron and precalculated vectors.

Holds tetrahedron and precalculated vectors.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Companion object for the surface distance implementation for TriangleMesh3D.

Companion object for the surface distance implementation for TriangleMesh3D.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

The TriangulatedSurfaceIntersectionIndex is a specialization of the SurfaceIntersectionIndex for TriangleMeshs. The additional query return the intersection points in the (TriangleId,BarycentricCoordinates) format.

The TriangulatedSurfaceIntersectionIndex is a specialization of the SurfaceIntersectionIndex for TriangleMeshs. The additional query return the intersection points in the (TriangleId,BarycentricCoordinates) format.

Attributes

Supertypes
class Object
trait Matchable
class Any

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait VolumeSpatialIndex[D] extends SpatialIndex[D]

SurfaceDistance trait with the basic queries defined.

SurfaceDistance trait with the basic queries defined.

Attributes

Supertypes
trait SpatialIndex[D]
class Object
trait Matchable
class Any