Ovis_3D_Area_Point_Count_Get()
Abstract
Gets the number of points defining a 3D area.
Syntax
Ovis_3D_Area_Point_Count_Get (area_dec_ptr, num_points_ptr)
| Argument | Type | Description |
|---|---|---|
area_dec_ptr |
OvisT_3D_Area * |
Area of interest |
num_points_ptr |
unsigned int * |
Number of points defining the area |
Return Type
OvisT_Compcode
OvisC_Compcode_Success if the point count is obtained; OvisC_Compcode_Failure otherwise.
Header
ovis_decoration.h
Details
None.
Example
unsigned int num_points;
OvisT_3D_Area * area;
OvisT_Compcode status;
/* … area created at some point */
status = Ovis_3D_Area_Point_Count_Get (area, &num_points);
Errors
- Decoration is NIL.
- Return address for number of points is NIL.
- Decoration is not a 3D area.
Reference
- None.