Ovis_Entity_Aggregate_Dimension_Set()
Abstract
Specifies the dimension of an aggregate's 3D volume in 3D Network Visualizer.
Syntax
Ovis_Entity_Aggregate_Dimension_Set (ent_ptr, x, y, z)
| Argument | Type | Description |
|---|---|---|
ent_ptr |
OvisT_Entity * |
Entity |
x |
Double |
X dimension, in meters |
y |
Double |
Y dimension, in meters |
z |
Double |
Z dimension, in meters |
Return Type
OvisT_Compcode
OvisC_Compcode_Success if the volume could be set; OvisC_Compcode_Failure otherwise.
Header
ovis_entity.h
Details
This function removes the corresponding 3D object from the scene as well as any 3D decorations attached to that object.
Example
OvisT_Entity * ent_ptr;
/* Entity was created at some point as an aggregate*/
Ovis_Entity_Aggregate_Dimension_Set (ent_ptr, 30, 20, 20);
Errors
- Entity is NIL.
Reference
- Use the function Ovis_Entity_Aggregate_Dimension_Get() to obtain the 3D volume of an aggregate in 3D Network Visualizer.