Examples of DXF3DFace


Examples of org.kabeja.dxf.DXF3DFace

    /* (non-Javadoc)
     * @see de.miethxml.kabeja.parser.entities.DXFEntityHandler#startDXFEntity()
     */
    public void startDXFEntity() {
        solid = new DXF3DFace();
    }
View Full Code Here

Examples of org.kabeja.dxf.DXF3DFace

        addBounds(b, doc, 6, "ALL");
    }

    protected void addBounds(Bounds bounds, DXFDocument doc, int color,
        String type) {
        DXF3DFace face = new DXF3DFace();
        face.getPoint1().setX(bounds.getMinimumX());
        face.getPoint1().setY(bounds.getMinimumY());

        face.getPoint2().setX(bounds.getMinimumX());
        face.getPoint2().setY(bounds.getMaximumY());

        face.getPoint3().setX(bounds.getMaximumX());
        face.getPoint3().setY(bounds.getMaximumY());

        face.getPoint4().setX(bounds.getMaximumX());
        face.getPoint4().setY(bounds.getMinimumY());

        face.setColor(color);
        face.setLayerName(LAYER_NAME);

        doc.addDXFEntity(face);

        DXFText t = new DXFText();
        t.setDXFDocument(doc);
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.