Class PmeshReader

    • Field Detail

      • isBinary

        private boolean isBinary
      • nPolygons

        protected int nPolygons
      • pmeshError

        protected java.lang.String pmeshError
      • type

        protected java.lang.String type
      • isClosedFace

        protected boolean isClosedFace
      • fixedCount

        protected int fixedCount
      • onePerLine

        protected boolean onePerLine
      • vertexBase

        protected int vertexBase
      • vertexMap

        protected int[] vertexMap
      • tokens

        protected java.lang.String[] tokens
      • iToken

        protected int iToken
    • Constructor Detail

      • PmeshReader

        PmeshReader()
    • Method Detail

      • init2PR

        protected void init2PR​(SurfaceGenerator sg,
                               java.io.BufferedReader br)
      • setHeader

        protected void setHeader()
      • checkBinary

        protected boolean checkBinary​(java.lang.String fileName)
      • readVerticesAndPolygons

        protected boolean readVerticesAndPolygons()
      • readBinaryHeader

        boolean readBinaryHeader()
      • readVertices

        protected boolean readVertices()
                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • readVerticesPM

        protected boolean readVerticesPM()
                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • readPolygons

        protected boolean readPolygons()
                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • readPolygonsPM

        protected boolean readPolygonsPM()
                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • nextToken

        private java.lang.String nextToken()
                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getInt

        private int getInt()
                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getFloat

        private float getFloat()
                        throws java.lang.Exception
        Throws:
        java.lang.Exception