Here is a simple example of a multipatch built with patches of type Triangles. Note that if you modify a list you are not modifying a copy of the list, but modifying the list itself. These lists can be manipulated directly or by using other methods provided. The MultipatchBuilderEx and Patch classes contain lists representing the patches, the coordinates, the M-values and other information. Use the ToGeometry method to obtain the geometry.The patch has lists representing the x,y,z coordinates and M-values along with other properties to control it's visual appearance. Add the new patch to the Patches collection. The MultipatchBuilderEx class has a MakePatch method that creates a new patch of the specified patchType.Create an instance of the appropriate builder object in this instance the MultipatchBuilderEx class.The following image displays examples of the different patch types.Īs with all other geometry builders the general process of constructing a multipatch object is as follows. The type of the patch determines how to interpret the list of vertices. A patch can be of type Triangles, Triangle Strip, Triangle Fan, First Ring or Ring. PatchesĮach part in a multipatch is called a patch and has a list of vertices with 3D coordinates to represent it's shape. Multipatches are useful in exchanging data with other non-GIS 3D software packages such as Collaborative Design Activity (COLLADA) and SketchUp®. It allows for the storing of texture image, color, transparency and lighting normal vector information within the geometry itself, making it the ideal data type for the representation of realistic-looking 3D features. It can be used to represent simple objects such as spheres and cubes or complex objects such as buildings and trees. A multipatch is a series of 3-dimensional surfaces used to represent a 3D object.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |