Options
All
  • Public
  • Public/Protected
  • All
Menu

Vertex 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 Vertex

    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.

getAttribValue

getAttribs

getEdge

getGeom

getGeomType

getGroups

getLabel

  • getLabel(): string

getLabelCentroid

  • getLabelCentroid(): XYZ

getModel

getObj

getObjID

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

    Returns number

    The object ID number.

getPoint

getTopoPath

getTopoPathStr

  • getTopoPathStr(): string

getWireOrFace

next

  • Find the next vertex in the sequence of vertices in the wire or face.

    Returns IVertex

    The next vertex object.

previous

  • Find the previous vertex in the sequence of vertices in the wire or face.

    Returns IVertex

    The previous vertex object.

setAttribValue

verticesSamePosition

  • verticesSamePosition(): IVertex[][]
  • Within the parent object, find all vertices with the same point position. Returns an array containing two sub-arrays. 1) The wire vertices, and 2) the face vertices.

    Returns IVertex[][]

    An array containing the two sub-arrays of vertices.

verticesSharedPoint

  • verticesSharedPoint(): IVertex[][]
  • Within the parent object, find all vertices with the same point. Returns an array containing two sub-arrays. 1) The wire vertices, and 2) the face vertices.

    Returns IVertex[][]

    An array containing the two sub-arrays of vertices.

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