Packages

 

com.aspose.cad.fileformats.dgn.dgnelements

Class DgnSurfaceElement

    • Constructor Detail

      • DgnSurfaceElement

        public DgnSurfaceElement(byte[] rawData)

        Initializes a new instance of the DgnSurfaceElement class from raw data

        Parameters:
        rawData - Raw data
    • Method Detail

      • isRational

        public boolean isRational()

        Gets a value indicating whether the surface is rational

        Returns:
        True if the surface is rational
      • isUniform

        public boolean isUniform()

        Gets a value indicating whether the surface is uniformed

        Returns:
        True if the surface is uniformed
      • setUniform

        public void setUniform(boolean value)

        Sets a value indicating whether the surface is uniformed

        Parameters:
        value - True if the surface is uniformed
      • getPropertiesU

        public byte getPropertiesU()

        Gets properties for U

        Returns:
        The properties for U
      • getOrderU

        public byte getOrderU()

        Gets order for U

        Returns:
        The order for U
      • getPolesCountU

        public int getPolesCountU()

        Gets poles count for U

        Returns:
        The poles count for U
      • getKnotsCountU

        public int getKnotsCountU()

        Gets knots count for U

        Returns:
        The knots count for U
      • getRuleLinesU

        public int getRuleLinesU()

        Gets rule lines for U

        Returns:
        The rule lines for U
      • getPropertiesV

        public byte getPropertiesV()

        Gets properties for V

        Returns:
        The properties for V
      • getOrderV

        public byte getOrderV()

        Gets order for V

        Returns:
        The order for V for V
      • getPolesCountV

        public int getPolesCountV()

        Gets poles count for V

        Returns:
        The poles count for V
      • getKnotsCountV

        public int getKnotsCountV()

        Gets knots count for V

        Returns:
        The knots count for V
      • getRuleLinesV

        public int getRuleLinesV()

        Gets rule lines for V

        Returns:
        The knots count for V
      • getSurfaceType

        public int getSurfaceType()

        Gets surface type

        Returns:
        The surface type
      • getBoundElementsCount

        public int getBoundElementsCount()

        Gets bound elements count

        Returns:
        The bound elements count
      • getBoundaries

        public DgnDrawingElementBase[] getBoundaries()

        Gets bound elements

        Returns:
        The bound elements
      • setKnot_internalized

        public void setKnot_internalized(DgnSplineKnotElement value)

        Sets knot

        Parameters:
        value - The knot
      • addBound_internalized

        public void addBound_internalized(DgnDrawingElementBase boundElement)

        Adds bound for surface

        Parameters:
        boundElement - bound element
      • addPole_internalized

        public void addPole_internalized(DgnSplinePoleElement poleElement)

        Adds surface pole

        Parameters:
        poleElement - pole element
      • addWeightFactor_internalized

        public void addWeightFactor_internalized(DgnSplineWeightFactorElement knotWeight)

        Adds weight factor

        Parameters:
        knotWeight - weight factor
      • applyTransformation_internalized

        public void applyTransformation_internalized(double scale,
                                                     DgnPoint originPoint)

        Apply transformation to the element

        Overrides:
        applyTransformation_internalized in class DgnElement
        Parameters:
        scale - scale factor
        originPoint - point of origin