Home

af_api.hxx File Reference

#include <math.h>
#include <stdio.h>
#include "dcl_fct.h"
#include "api.hxx"
#include "logical.h"
#include "entity.hxx"
#include "lists.hxx"
#include "attrib.hxx"
#include "box.hxx"
#include "af_enum.hxx"
#include "refine.hxx"
#include "mesh.hxx"
#include "meshmg.hxx"
#include "atteye3d.hxx"
#include "nodedata.hxx"
#include "vtplate.hxx"
#include "rvattr.hxx"
#include "meshat.hxx"
#include "fctdattr.hxx"
#include "ppm.hxx"
#include "ppmeshmg.hxx"
#include "ppmface.hxx"
#include "idx_mm.hxx"
#include "idx_mesh.hxx"

Functions

outcome api_create_refinement (REFINEMENT *&ref, AcisOptions *ao=0)
 Creates a refinement.
outcome api_create_vertex_template (int n_tokens, int tokens[], VERTEX_TEMPLATE *&tplate, AcisOptions *ao=0)
 This API creates a vertex-template.
outcome api_delete_all_AF_POINTs (AF_POINT *first_point, AcisOptions *ao=0)
 Delete the whole linked list.
outcome api_delete_entity_facets (ENTITY *ent, logical apply_to_descendents=FALSE, AcisOptions *ao=0)
 Deletes facets.
outcome api_facet_area (ENTITY *entity, double &area, AcisOptions *ao=0)
 Returns the area of the facets of entity.
outcome api_facet_curve (const curve &in_curve, const double in_start_param, const double in_end_param, const double in_max_tol, const double in_max_length, const double in_max_angle, int &out_count, AF_POINT *&out_points, AcisOptions *ao=0)
 Returns facets that approximate a curve.
outcome api_facet_curve (const curve &in_curve, const double in_start_param, const double in_end_param, const double in_max_tol, const double in_max_length, const double in_max_angle, const int in_max_count, int &out_count, SPAposition **io_points, double **io_params, AcisOptions *ao=0)
 Returns facets that approximate a curve.
outcome api_facet_edge (const EDGE *in_EDGE, const double in_max_tol, const double in_max_length, const double in_max_angle, int &out_count, AF_POINT *&out_points, AcisOptions *ao=0)
 Returns facets that approximate a curve.
outcome api_facet_edge (const EDGE *in_EDGE, const double in_max_tol, const double in_max_length, const double in_max_angle, const int in_max_count, int &out_count, SPAposition **io_points, double **io_params, AcisOptions *ao=0)
 Returns facets that approximate a curve.
outcome api_facet_entities (ENTITY *owner, ENTITY_LIST *entity_list, facet_options *fo=0, AcisOptions *ao=0)
 Creates facets for a list of entities.
outcome api_facet_entity (ENTITY *entity, facet_options *fo=0, AcisOptions *ao=0)
 Creates facets for an entity.
outcome api_facet_unfaceted_entities (ENTITY *owner, ENTITY_LIST *entity_list, facet_options *fo=0, AcisOptions *ao=0)
 Facets unfaceted (unmarked) faces given a list of entities.
outcome api_facet_unfaceted_entity (ENTITY *entity, facet_options *fo=0, AcisOptions *ao=0)
 Facets unfaceted (unmarked) face(s) of an entity.
outcome api_faceted_face (FACE *face, logical &faceted, AcisOptions *ao=0)
 Determines if a face has been faceted or not.
outcome api_fast_find_face (SPAposition const &ray_pos, SPAunit_vector const &ray_dir, BODY *in_body, int &in_count, ENTITY **&in_faces=*(ENTITY ***) NULL_REF, SPAposition *&in_hits=*(SPAposition **) NULL_REF, double *&in_params=*(double **) NULL_REF, AcisOptions *ao=0)
 Fires a ray through a body and returns the hits.
outcome api_get_default_refinement (REFINEMENT *&ref, AF_SURF_MODE surftype=AF_SURF_ALL, AcisOptions *ao=0)
 Gets the default REFINEMENT associated with a type of surface.
outcome api_get_default_vertex_template (VERTEX_TEMPLATE *&tplate, AcisOptions *ao=0)
 Gets the default vertex template.
outcome api_get_entity_refinement (ENTITY *entity, REFINEMENT *&ref, AF_SURF_MODE surftype=AF_SURF_ALL, AcisOptions *ao=0)
 Gets the refinement attached to the entity.
outcome api_get_entity_vertex_template (ENTITY *ent, VERTEX_TEMPLATE *&vt, AcisOptions *ao=0)
 Gets the vertex template attached to the entity.
outcome api_get_facet_edge_points (EDGE *edge, SPAposition *&polyline, int &num_pts, AcisOptions *ao=0)
 Gets points off the edge generated by the faceter.
outcome api_get_indexed_mesh (ENTITY *entity, INDEXED_MESH *&mesh, AcisOptions *ao=0)
 Gets the indexed mesh attached to the entity.
outcome api_get_mesh_manager (MESH_MANAGER *&mm, AcisOptions *ao=0)
 Gets the current mesh manager of faceter.
outcome api_get_shell_facets (SHELL *shell, POLYGON_POINT_MESH *&pmesh, logical share_edge_vertices=TRUE, AcisOptions *ao=0)
 Obsolete: used only in pre-1-7 Faceting.
outcome api_initialize_faceter ()
 Initializes the faceter library.
outcome api_mark_faceted_faces (logical mark, AcisOptions *ao=0)
 Marks faceted faces so that application may want to skip re-faceting them later.
outcome api_modify_vertex_template (int n_tokens, int tokens[], VERTEX_TEMPLATE *tplate, AcisOptions *ao=0)
 Modifies a vertex template.
outcome api_set_default_refinement (REFINEMENT *ref, AcisOptions *ao=0)
 Sets the default REFINEMENT in the faceter.
outcome api_set_default_vertex_template (VERTEX_TEMPLATE *tplate, AcisOptions *ao=0)
 Sets the default vertex template in the faceter.
outcome api_set_entity_refinement (ENTITY *ent, REFINEMENT *ref=(REFINEMENT *) 0, logical apply_to_descendents=FALSE, AcisOptions *ao=0)
 Attaches a REFINEMENT to an entity (BODY, LUMP, SHELL, FACE).
outcome api_set_entity_vertex_template (ENTITY *ent, VERTEX_TEMPLATE *vt, logical apply_to_descendents, AcisOptions *ao=0)
 Sets the vertex template on an entity.
outcome api_set_mesh_manager (MESH_MANAGER *mm, AcisOptions *ao=0)
 Sets the current mesh manager of faceter.
outcome api_terminate_faceter ()
 Terminates the faceter library.

Detailed Description