case class TriangleMesh3D(pointSet: UnstructuredPoints[_3D], triangulation: TriangleList) extends TriangleMesh[_3D] with Product with Serializable
Standard 3D Gravis mesh, geometry only
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- TriangleMesh3D
- Serializable
- Product
- Equals
- TriangleMesh
- DiscreteDomain
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new TriangleMesh3D(pointSet: UnstructuredPoints[_3D], triangulation: TriangleList)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- lazy val area: Double
Area of the mesh surface.
Area of the mesh surface.
The computed area is the sum of all the triangle cell areas.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- lazy val boundingBox: BoxDomain[_3D]
- lazy val cellNormals: TriangleProperty[EuclideanVector[_3D]]
Get all cell normals as a surface property
- val cells: IndexedSeq[TriangleCell]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def computeCellNormal(cell: TriangleCell): EuclideanVector[_3D]
Returns a 3D vector that is orthogonal to the triangle defined by the cell points
- def computeTriangleArea(t: TriangleCell): Double
Returns the area of the indicated triangle cell.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- lazy val operations: TriangleMesh3DOperations
- val pointSet: UnstructuredPoints[_3D]
- Definition Classes
- TriangleMesh3D → TriangleMesh → DiscreteDomain
- val position: SurfacePointProperty[Point[_3D]]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def samplePointInTriangleCell(t: TriangleCell)(implicit rnd: Random): Point[_3D]
Returns a random point lying within the triangle defined by the indicated cell.
Returns a random point lying within the triangle defined by the indicated cell.
A uniform distribution is used for sampling points.
- t
Triangle cell in which to draw a random point
- rnd
implicit Random object
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def transform(transformation: (Point[_3D]) => Point[_3D]): TriangleMesh[_3D]
- val triangles: IndexedSeq[TriangleCell]
- val triangulation: TriangleList
- Definition Classes
- TriangleMesh3D → TriangleMesh
- lazy val vertexNormals: SurfacePointProperty[EuclideanVector[_3D]]
Get all vertex normals as a surface property, averages over cell normals
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()