Documentation of 'jvx.loader.PgMacroPatch' Java class
PgMacroPatch ("JavaView Reference Manual")
"JavaView? v5.03.003"
jvx.loader

Class PgMacroPatch

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, PsUpdateIf


    public class PgMacroPatch
    extends PsObject
    Macro patch obtained from reading a build file '*.bd' through PgBdLoader. Container class describes a macro patch, an application is responsible to generate a geometry, like a triangulation, out of a macro patch.

    Each macro patch may be bounded by simple straight lines or be a curve with sophisticated boundary constraints to be used in calculus of variations. See description of the file format '*.bd' for more details.

    See Also:
    Serialized Form
    Author:
    Konrad Polthier
    Version:
    28.08.99 revised (kp) Name changed from PgBuildPatch to PgMacroPatch.
    00.00.98 created (kp)
    • Constructor Detail

      • PgMacroPatch

        public PgMacroPatch(int aDim)
        Constructs a macro patch with given dimension of ambient space.
    • Method Detail

      • init

        public void init()
        Description copied from class: PsObject
        If instance has missing name then assign default name 'Object_NUMBER' where number is the total number of already created instances.
        Overrides:
        init in class PsObject
      • getDimVertices

        public int getDimVertices()
        Get dimension of vertices.
      • getNumVertices

        public int getNumVertices()
        Get dimension of macro vertices.
      • setNumVertices

        public void setNumVertices(int aNum)
        Set dimension of macro vertices.
      • getBndType

        public int getBndType()
      • setBndType

        public void setBndType(int aNum)
      • getOrientation

        public int getOrientation()
      • setOrientation

        public void setOrientation(int aNum)
      • setVertexType

        public void setVertexType(PiVector[] vertexType)
      • setVertex

        public void setVertex(PdVector[] vertex)
        Set reference to array of macro vertices.
      • makePolygon

        public PgPolygon makePolygon(PgPolygon aPolygon,
                                     int anInd)
        Compute the vertices of the boundary polygon with index anInd. Use information in PgMacroPatch available from *.bd files.
        Author:
        Konrad Polthier
        Version:
        06.12.97 revised (kp) 06.12.97 created (kp)
      • makeBndConstraint

        public PgBndConstraint makeBndConstraint(PgBndConstraint aBndConstraint,
                                                 int anInd)
        Compute the constraints of the boundary polygon with index anInd. Use information in PgMacroPatch available from *.bd files.
        Parameters:
        aBndConstraint - constraint which is made, created if argument is null
        anInd - index of edge in current macro patch
        Author:
        Konrad Polthier
        Version:
        21.12.97 revised (kp) 21.12.97 created (kp)
      • buildElementSet

        public PgElementSet buildElementSet(PgElementSet geom)
        Build an element set from the information of this macro patch. Surface boundary is created with constraints.

        If container element set is null, then a new element set is created.

        Parameters:
        geom - initialized element set, created if argument is null.
        Author:
        Konrad Polthier
        Version:
        14.05.06 revised (kp) No longer issues a notification if element set is created.
        07.12.97 created (kp)
"JavaView? v5.03.003"

"

The software JavaView? is copyright protected. All Rights Reserved.
"

You see the box below because you did not login.