api_get_vertices
List of: Functions
Subjects: Model Topology
Contents: Kernel

Action: Gets all vertices related to an entity.

Prototype: outcome api_get_vertices (


ENTITY* ent, // entity to examine


ENTITY_LIST& vertex_list,// vertices related




// to entity returned


PAT_NEXT_TYPE include_pat// how to treat



= PAT_CAN_CREATE, // patterned vertices


AcisOptions* ao = NULL // acis options


);

Includes: #include "kernel/acis.hxx"

#include "kernel/kernapi/api/api.hxx"

#include "kernel/kernapi/api/kernapi.hxx"

#include "kernel/kerndata/data/entity.hxx"

#include "kernel/kerndata/lists/lists.hxx"

#include "kernel/kernapi/api/acis_options.hxx"

#include "kernel/kernutil/law/pattern_enum.hxx"

Description: If the specified entity (ent) is a BODY, LUMP, SHELL, FACE, EDGE, or LOOP, this API returns all VERTEXes of that entity.


By default, patterned objects are included in the list of entities. In general, however, the parameter include_pat determines how this function deals with such objects. The user may specify any one of the following through this argument:


PAT_CAN_CREATE - patterned objects are created if they do not already exist, and are included in the list.

PAT_NO_CREATE - only those patterned objects that have already been created are included in the list.

PAT_IGNORE - no patterned objects besides seed pattern objects are included in the list.

Library: kernel

Filename: kern/kernel/kernapi/api/kernapi.hxx

Effect: Read-only
PDF/KERN/16FNA.PDF
HTM/DATA/KERN/KERN/16FNA/0074.HTM