public Object[] getAttributes(Object[] attributes) { return toArray( attributes ); }
if (dataSourceConfig.pointDataSource != null && dataSourceConfig.dataField != null) { corrDataName = dataSourceConfig.dataField.getLocalName(); features = dataSourceConfig.pointDataSource.getFeatureCollection().toArray(new SimpleFeature[0]); dataFieldIndex = dataSourceConfig.pointDataSource.getFeatureType().indexOf(corrDataName); } else {
setValues(spec); }); int polygonLength = ((VectorDataMaskOpImage) (product.getMaskGroup().get("geometry").getSourceImage().getImage(0))).getVectorDataNode().getFeatureCollection().toArray().length; for (int polygonIndex = 0; polygonIndex < polygonLength; polygonIndex++) { try { SimpleFeatureImpl simpleFeatImp = ((SimpleFeatureImpl) ((VectorDataMaskOpImage) (product.getMaskGroup().get("geometry").getSourceImage().getImage(0))).getVectorDataNode().getFeatureCollection().toArray()[polygonIndex]); Polygon pol = (Polygon) simpleFeatImp.getAttribute(0); if (pol != null) {
SimpleFeature[] features = getVectorDataNode().getFeatureCollection().toArray(new SimpleFeature[0]); double lastX = 0; double lastY = 0;
StatisticChartStyling.getCorrelativeDataLabel(dataSourceConfig.pointDataSource, dataSourceConfig.dataField)); int[] shapeVertexIndexes = profileData.getShapeVertexIndexes(); SimpleFeature[] simpleFeatures = dataSourceConfig.pointDataSource.getFeatureCollection().toArray(new SimpleFeature[0]);