Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • T

Hierarchy

Index

Properties

Abstract child

child: T

The "child" of the node, stores information about the construction of a polytope. The exact information it stores depends on the type.

Abstract gender

gender: Gender

Abstract polytope

polytope: PolytopeB | undefined

Readonly Abstract type

type: Type

The type of ConstructionNode.

Methods

familyMember

  • familyMember(family: string): string
  • Converts a ConstructionNode into the corresponding member of the specified family's name.

    Example

    const cube = new Hypercube(3);
    
    //Cubic pyramid.
    console.log(cube.familyMember("family/pyramid"));

    Parameters

    • family: string

      The code for the family's name.

    Returns string

Abstract getName

  • getName(): string

Abstract setGenders

  • setGenders(gender: Gender): void

Generated using TypeDoc, the 1/31/2021 at 6:18:55 AM