Tabnine Logo
WallPart.setNodes
Code IndexAdd Tabnine to your IDE (free)

How to use
setNodes
method
in
kendzi.kendzi3d.buildings.model.WallPart

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

origin: kendzi/kendzi3d

wp.setNodes(nodes);
origin: kendzi/kendzi3d

private static WallPart parseWallPart(ReversableWay rw, Perspective pPerspective) {
  Way way = rw.getWay();
  WallPart wp = new WallPart();
  List<WallNode> wnList = new ArrayList<WallNode>();
  if (!rw.isReversed()) {
    for (int i = 0; i < way.getNodesCount(); i++) {
      WallNode wn = parseWallNode(way.getNode(i), pPerspective);
      wnList.add(wn);
    }
  } else {
    for (int i = way.getNodesCount() - 1; i >= 0; i--) {
      WallNode wn = parseWallNode(way.getNode(i), pPerspective);
      wnList.add(wn);
    }
  }
  wp.setNodes(wnList);
  wp.setBuildingElements(parseBuildingAttributeWallElement(way));
  // String parseFacadeName =
  // BuildingAttributeParser.parseFacadeMaterialName(w);
  // wp.setFacadeTextureData(BuildingAttributeParser.parseFacadeTexture(parseFacadeName,
  // this.textureLibraryService));
  // wp.setColor(BuildingAttributeParser.parseFacadeColor(w));
  wp.setFacadeMaterialType(BuildingAttributeParser.parseFacadeMaterialName(way));
  wp.setFacadeColor(BuildingAttributeParser.parseFacadeColor(way));
  wp.setRoofMaterialType(BuildingAttributeParser.parseRoofMaterialName(way));
  wp.setRoofColor(BuildingAttributeParser.parseRoofColor(way));
  return wp;
}
kendzi.kendzi3d.buildings.modelWallPartsetNodes

Popular methods of WallPart

  • <init>
  • getNodes
  • getBuildingElements
  • getFacadeColor
  • getFacadeMaterialType
  • getRoofColor
  • setBuildingElements
  • setFacadeColor
  • setFacadeMaterialType
  • setRoofColor
  • setRoofMaterialType
  • setRoofMaterialType

Popular in Java

  • Parsing JSON documents to java classes using gson
  • scheduleAtFixedRate (ScheduledExecutorService)
  • onRequestPermissionsResult (Fragment)
  • notifyDataSetChanged (ArrayAdapter)
  • Menu (java.awt)
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Top plugins for WebStorm
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