Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Triangle

A geometric triangle as defined by three Vector3s representing its three corners. See the ngx3js docs page for details.

Hierarchy

  • Triangle

Index

Constructors

constructor

Properties

a

The first corner of the triangle. Default is a Vector3 at (0, 0, 0).

default

new THREE.Vector3()

b

The second corner of the triangle. Default is a Vector3 at (0, 0, 0).

default

new THREE.Vector3()

c

The final corner of the triangle. Default is a Vector3 at (0, 0, 0)

default

new THREE.Vector3()

Methods

clone

closestPointToPoint

containsPoint

copy

equals

getArea

  • getArea(): number

getBarycoord

getMidpoint

getNormal

getPlane

getUV

intersectsBox

isFrontFacing

set

setFromAttributeAndIndices

setFromPointsAndIndices

Generated using TypeDoc