Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Point. A point with x, y, z coordinates. A point may be part of a group and may have attributes.

Hierarchy

Implements

Index

Constructors

constructor

  • Creates an instance of one of the subclasses of Ent. The entity must already exists in the geometry. Do not use this constructor if you want to add a new entity to the geometry. For that, you should use one of the 'add' methods in the geometry class.

    Parameters

    • kernel: Kernel
    • id: number

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

    Returns Point

    The Ent object.

Properties

Protected _id

_id: number

Protected _kernel

_kernel: Kernel

Methods

addToGroup

  • addToGroup(group: IGroup): boolean

copy

  • copy(copy_attribs?: boolean): IPoint
  • Make a copy of this entity. This method must be overridden by the sub-classes.

    Parameters

    • Optional copy_attribs: boolean

    Returns IPoint

    The geometry type.

exists

  • exists(): boolean

getAttribValue

getAttribs

getGeom

getGeomType

getGroups

getID

  • getID(): number

getLabel

  • getLabel(): string

getLabelCentroid

  • getLabelCentroid(): XYZ

getModel

getPosition

  • getPosition(): XYZ

getVertices

setAttribValue

  • setAttribValue(attrib: IEntAttrib, value: any): any

setPosition

toString

  • toString(): string

xform

  • xform(matrix: Matrix4): void

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