Examples of VectorSource


Examples of net.fec.openrq.util.linearalgebra.vector.source.VectorSource

     * @param row
     * @return a row vector source from a matrix source and a row index
     */
    public static VectorSource asRowVectorSource(final MatrixSource source, final int row) {

        return new VectorSource() {

            @Override
            public int length() {

                return source.columns();
View Full Code Here

Examples of net.fec.openrq.util.linearalgebra.vector.source.VectorSource

     * @param column
     * @return a column vector source from a matrix source and a column index
     */
    public static VectorSource asColumnVectorSource(final MatrixSource source, final int column) {

        return new VectorSource() {

            @Override
            public int length() {

                return source.rows();
View Full Code Here

Examples of org.wicketstuff.openlayers3.api.source.VectorSource

            for (Layer layer : map.getLayers()) {

                // create vector data sources before the map
                if (layer.getSource() != null && layer.getSource() instanceof VectorSource) {

                    VectorSource vectorSource = (VectorSource) layer.getSource();

                    if (vectorSource.getFeatures() != null) {
                        for (Feature feature : vectorSource.getFeatures()) {
                            builder.append("var " + feature.getJsId() + " = new " + feature.getJsType() + "("
                                    + feature.renderJs() + ");\n");
                        }
                    }
                }
View Full Code Here

Examples of org.wicketstuff.openlayers3.api.source.VectorSource

            for (Layer layer : map.getLayers()) {

                if (layer.getSource() != null && layer.getSource() instanceof VectorSource) {

                    VectorSource vectorSource = (VectorSource) layer.getSource();

                    if (vectorSource.getFeatures() != null) {
                        for (Feature feature : vectorSource.getFeatures()) {
                            builder.append(feature.renderAfterConstructorJs());
                        }
                    }
                }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.