PathEngine home previous: Project Setupnext: Class Types
Contents, Programmers Guide, Using PathEngine with Other Languages, Microsoft CLR, Naming Conventions

Naming Conventions

The PathEngine interface is provided through a 'PathEngine' namespace with the set of classes in this namespace mapping directly to corresponding classes in the C++ interface.

Class names

To match common CLR coding conventions the lower case initial letter prefix present in class names in the native C++ interface is removed in the CLR interface mapping.

So the native iPathEngine class maps to PathEngine.PathEngine, iMesh maps to Pathengine.Mesh, iShape maps to Pathengine.Shape, iErrorHandler maps to Pathengine.ErrorHandler, and so on.

And the same applied to the POD classes provided by the C++ interface, so the native cPosition class maps to Pathengine.Position, and cHorizontalRange maps to Pathengine.HorizontalRange.


Constant values provided by the C++ interface, such as PE_FaceAttribute_SurfaceType, are provided by a special Constants class, and lose the 'PE_' prefix, so PE_FaceAttribute_SurfaceType maps to PathEngine.Constants.FaceAttribute_SurfaceType.

Documentation for PathEngine release 6.03 - Copyright © 2002-2021 PathEnginenext: Class Types