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

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

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

origin: kendzi/kendzi3d

/**
 * Parse building model from way.
 *
 * @param way
 * @param perspective
 * @return
 */
public static BuildingModel parseBuildingWay(Way way, Perspective perspective) {
  BuildingModel bm = new BuildingModel();
  bm.setParts(parseBuildingPart(way, perspective));
  return bm;
}
origin: kendzi/kendzi3d

/**
 * Parse building model from multipolygon.
 *
 * @param pRelation
 * @param pers
 * @return
 */
public static BuildingModel parseBuildingMultiPolygon(Relation pRelation, Perspective pers) {
  if (!pRelation.isMultipolygon()) {
    throw new IllegalArgumentException("for multipolygon relations!");
  }
  BuildingModel bm = new BuildingModel();
  List<BuildingPart> bps = new ArrayList<BuildingPart>();
  bm.setParts(bps);
  List<BuildingPart> bp = parseBuildingMultiPolygonPart(pRelation, pers);
  if (bp != null) {
    bps.addAll(bp);
  }
  return bm;
}
origin: kendzi/kendzi3d

bm.setParts(bps);
origin: kendzi/kendzi3d

buildingModel.setParts(Arrays.asList(bp));
kendzi.kendzi3d.buildings.modelBuildingModelsetParts

Popular methods of BuildingModel

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

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getApplicationContext (Context)
  • setContentView (Activity)
  • getSystemService (Context)
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Github Copilot alternatives
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