DG Kernel Documentation


Skip Navigation Links.
Skip Navigation LinksHome Page > Math Objects > Mathematical Objects Search Documentation


Mathematical Objects

Mathematical, or Pure Geometric Objects, are dynamically created objects, which are not part of the model. but rather used for geometric calculations. Mathematical Objects do not normally implement IEntity_DG interface.

Mathematical Objects can be created via Create or Create2 method of IDIObjectGenerator with parameter eType set to a member of EObjectType enumeration.

Examples of Mathematical Objects are: Frame, Free-Form 3D Curves, Splined 3D Curves, and simpler objects like Oriented Box, Plane and arcs

Although Mathematical Objects are not part of the model, in many cases they still can be rendered in the scene using IScene_DG.CreatePresentationEntity(). IDraw_DG is another way of "drawing into the model" for simple objects.

See also: Rotation Sample, Sample List.