ODA Product: | Civil SDK |
Sample Name: | ExTcSurfaceTin |
Source Code Location: | <INSTALL_DIR>/Civil/Examples/ExTcSurfaceTin |
The ExTcSurfaceTin sample application demonstrates creation of a TIN surface. It creates surfaces from drawing objects contained in the input drawing. There are several constructors of definition, for creation surfaces from an array of OdDbLine, OdDbPoint, OdDbBlockReference, OdDbFace, OdDbMText, etc. Lines array is used as the example in this sample application.
It illustrates:
Creation of a surface from a points file requires a specific format manager, which parses the input file. There are several built in formats:
To run the ExTcSurfaceTin sample application, please do the following:
<INSTALL_DIR>\exe\<PLATFORM_NAME>\
<INSTALL_DIR>/bin/<PLATFORM_NAME>/
<INSTALL_DIR>
is a directory where you unpacked the
Civil SDK archive.<PLATFORM_NAME>
parameter, please see
the ODA Platform Naming Conventions section in the
Downloading Civil SDK topic.
ExTcSurfaceTin <mode> <source file> <target file> [points file]
mode
|
Defines a data source for surface creation or the operation mode. Can be
one of the following:
|
source file
|
Full path to a drawing file to read input data from. |
target file
|
Full path to a drawing file to write output data to. |
points file
|
Optional. Applicable to the "-f" mode only. Full path to a points file. |
If the application executed properly, the target file will appear with no additional messages displayed, except the "-s" mode. In the "-s" mode information about source file objects will be displayed. In case you get the "usage" message, check the parameters. An error message indicates problems with the source file.
Copyright © 2002 – 2020. Open Design Alliance. All rights reserved.
|