Options
All
  • Public
  • Public/Protected
  • All
Menu

Class EdgeLengthGeometrySubdivisionModifier

The EdgeLengthGeometrySubdivisionModifier subdivides triangle mesh depending on length of edges.

Hierarchy

Index

Constructors

constructor

Properties

Readonly geoBox

geoBox: GeoBox

The geo bounding box of a tile

Readonly projection

projection: Projection

The projection that defines the world space of this geometry.

Readonly subdivision

subdivision: number

The subdivision factor

Readonly subdivisionMode

subdivisionMode: SubdivisionMode

Configures what edges to divide

Accessors

maxLength

  • get maxLength(): number

maxLengthX

  • get maxLengthX(): number

maxLengthY

  • get maxLengthY(): number

Methods

modify

  • modify(geometry: BufferGeometry): BufferGeometry
  • Subdivides the faces of the given [[THREE.BufferGeometry]].

    This method modifies (in-place) the vertices and the faces of the geometry. Please note that only the vertex position and their UV coordinates are subdivided. Normals, vertex colors and other attributes are left unmodified.

    Parameters

    • geometry: BufferGeometry

      The [[THREE.BufferGeometry]] to subdivide.

    Returns BufferGeometry

Protected shouldSplitTriangle

  • shouldSplitTriangle(a: Vector3, b: Vector3, c: Vector3): number | undefined

Generated using TypeDoc