Teigha Blog

Find out what's new and more

Teigha Civil’s 3D Feature Line Entity

There are two ways of drawing feature lines: by 2D polyline (OdDbPolyline object) and by 3D polyline (OdDb3dPolyline object). The difference in elevation values affects all site feature edge points. If all elevations are equal, the feature line will be drawn via an OdDbPolyline entity, else via OdDb3dPolyline. In the 2D case, OdDbPolyline consists of eLine and eArc edges of type (AECCSiteEdge::Type). The OdDb3dPolyline entity consists of eLine types only and for arcs interpolation purposes uses tessellation (short, straight line segments) based on explode functionalities.

civil getting started

Getting Started with Teigha Civil using a Simple Test Application

It’s easy to start exploring Teigha Civil using a simple console application named TCTest. Using it, you can see how Teigha Civil opens, saves, and renders files, and more.

civil getting started