2D Models
Two Dimentional models, are collections of 2D entities. 2D Models were
introduced to represent internal geometry of overlays. See the
overlays topic about creating and editing 2D
models at runtime in Direct User Access mode.
Programmatically 2D models can be manipulated using
IModel2d_DG Interface. In the
intial form 2D entities are strips of points connected with linear segments. Use
methods of IModel2d_DG to add new
or existing entities or remove entities. See 2D Entities
topic about modifying geometry of an entity.
Most often modifications made programmatically as described above require a call to UpdateSurface() method of the DG Kernel component to appear in the view. If there are several modification to be done, for preformance call UpdateSurface() once in the end
See also: Overlay sample
|