C3D Toolkit  Kernel - 118072, Vision - 2.18.1.1852
gce_callback.h File Reference

Functions and data types for callbacks of the 2D-solver. More...

#include <gce_types.h>

Classes

struct  GCE_callback_table
 The structure uniting 2D-solver callbacks. More...
 

Typedefs

typedef void * GCE_app_geom
 Geometric object of the application using the solver.
 
using GCE_geom_registered = void(*)(GCE_app_geom ag)
 Application geom was registered in the solver.
 
using GCE_allow_zero_radius = bool(*)(GCE_app_geom ag)
 Allow zero radius of a circle.
 
using GCE_allow_zero_length = bool(*)(GCE_app_geom ag)
 Allow zero length of a bounded curve or line segments.
 
using GCE_get_lseg_direction = GCE_vec2d(*)(GCE_app_geom ag)
 Function that returns the direction of a line segment.
 
using GCE_abort = bool(*)()
 Query to interrupt calculations.
 

Functions

GCE_callback_table & GCE_InitCallbacks (GCE_callback_table &)
 Set and return default callback functions. More...
 
GCE_result GCE_Register (GCE_system gSys, const GCE_callback_table &cbTable)
 Register callback table for new constraint system. More...
 
void GCE_Bind (GCE_system, geom_item, GCE_app_geom)
 Associate an application geometry and a solver's descriptor.
 
void GCE_Unbind (GCE_system, geom_item)
 Disassociate an application geometry and a solver's descriptor.
 

Variables

const GCE_app_geom GCE_NOGEOM = 0
 Specifies an undefined object of the user's app.
 

Detailed Description

Functions and data types for callbacks of the 2D-solver.