Options
All
  • Public
  • Public/Protected
  • All
Menu

Face class

Hierarchy

Implements

Index

Constructors

constructor

  • Creates an instance of one of the subclasses of Topo. The entity must already exists in the geometry. You should not create new topo components using this constructor. Topology will be created for you when you create geometric objects, such as polylines and polymeshes.

    Parameters

    • kernel: Kernel
    • path: ITopoPathData

      The path of the entity. This path must already exist in the geometry.

    Returns Face

    The Topo object.

Properties

Protected _kernel

_kernel: Kernel

Protected _path

Methods

addToGroup

  • addToGroup(group: IGroup): boolean
  • Add this topo to a group.

    Parameters

    Returns boolean

    True if the topo was added, False is the topo was already in the group.

exists

  • exists(): boolean
  • Check if this entity exists in the model. (i.e has it been deleted?)

    Returns boolean

    The entity ID number.

facesSharedPoints

  • facesSharedPoints(num_shared_points?: number): IFace[]
  • Within the parent object, find all faces that share at least n points.

    Parameters

    • Optional num_shared_points: number

    Returns IFace[]

    An array of faces.

getAttribValue

getAttribs

getEdges

getGeom

getGeomType

getGroups

getLabel

  • getLabel(): string

getLabelCentroid

  • getLabelCentroid(): XYZ

getModel

getObj

  • Get the ID of the object to which this topo component belongs.

    Returns IObj

    The object ID number.

getObjID

  • getObjID(): number
  • Get the ID of the object to which this topo component belongs.

    Returns number

    The object ID number.

getTopoPath

getTopoPathStr

  • getTopoPathStr(): string

getVertices

isClosed

  • isClosed(): boolean

numEdges

  • numEdges(): number
  • Get the number of edged in this face. This is the same as numVertices().

    Returns number

    The number of edges.

numVertices

  • numVertices(): number
  • Get the number of vertices in this face. This is the same as numEdges().

    Returns number

    The number of vertices.

setAttribValue

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc