This might a very basic question. If it is not relevant please point
to appropriate reference. Thanks!
I am using libkml to read and write kml and kmz files. However, in my
application I am mostly interested in extracting 3D models described
in the kml file. For example in the pentagon sample (http://
code.google.com/apis/kml/documentation/kml_tut.html) I actually want
to get the 3D model in terms of triangles or quads from the kml file.
Now, I know after reading the pentagon kml file I know the outer and
inner LinearRing. Also, the pentagon is extruded. So my question is:
Are there helper functions in libkml to get 3D model (in terms of
triangles and quads) from the LinearRing. If not, how does Google
Earth render them as 3D models and is there another API I can use to
do this?
Thanks!