Tabnine Logo
BuildingModel.getParts
Code IndexAdd Tabnine to your IDE (free)

How to use
getParts
method
in
kendzi.kendzi3d.buildings.model.BuildingModel

Best Java code snippets using kendzi.kendzi3d.buildings.model.BuildingModel.getParts (Showing top 2 results out of 315)

origin: kendzi/kendzi3d

/**
 * Build 3d Model of building.
 *
 * @param buildingModel
 *            building model
 * @param tm
 *            texture manager
 * @return building model and debug informations
 */
public static BuildingOutput buildModel(BuildingModel buildingModel, BuildingElementsTextureManager tm) {
  List<BuildingPartOutput> partsOut = new ArrayList<BuildingPartOutput>();
  ModelFactory mf = ModelFactory.modelBuilder();
  if (buildingModel.getParts() != null) {
    for (BuildingPart bp : buildingModel.getParts()) {
      partsOut.add(buildPart(bp, buildingModel, mf, tm));
    }
  }
  if (buildingModel.getNodeParts() != null) {
    for (NodeBuildingPart bp : buildingModel.getNodeParts()) {
      partsOut.add(buildNodePart(bp, buildingModel, mf, tm));
    }
  }
  BuildingOutput out = new BuildingOutput();
  out.setModel(mf.toModel());
  out.setBuildingPartOutput(partsOut);
  return out;
}
origin: kendzi/kendzi3d

  List<BuildingPart> parts = bm.getParts();
  if (parts != null) {
    for (final BuildingPart bp : parts) {
List<BuildingPart> parts = bm.getParts();
if (parts != null) {
  for (BuildingPart bp : parts) {
kendzi.kendzi3d.buildings.modelBuildingModelgetParts

Popular methods of BuildingModel

  • <init>
  • setParts
  • getFacadeColor
  • getFacadeMaterialType
  • getFloorColor
  • getFloorMaterialType
  • getNodeParts
  • getRoofColor
  • getRoofMaterialType
  • setNodeParts

Popular in Java

  • Running tasks concurrently on multiple threads
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getApplicationContext (Context)
  • setRequestProperty (URLConnection)
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now