Cube

ai.dragonfly.mesh.shape.Cube
object Cube

Attributes

Source
Cube.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Cube.type

Members list

Value members

Concrete methods

def apply(l: Double, n: Int, name: String): Mesh

Attributes

Source
Cube.scala
def corners(l: Double): NArray[NArray[Vec[3]]]

Attributes

Source
Cube.scala
def cubePoints(l: Double, n: Int): NArray[Vec[3]]

Attributes

Source
Cube.scala
def minimal(l: Double): Mesh

Create a cube with minimal number of triangles and points.

Create a cube with minimal number of triangles and points.

Value parameters

l

the length of the cube.

Attributes

Returns

a triangular cube mesh.

Source
Cube.scala