com.supermap.ar.areffect.preset

Class ARGeoPrism



  • public class ARGeoPrism
    extends ARGeometry
    AR prism geometry
    • Constructor Detail

      • ARGeoPrism

        public ARGeoPrism()
        The constructor
      • ARGeoPrism

        public ARGeoPrism(BaseShape.MatType matType)
        The constructor
        Parameters:
        matType -
    • Method Detail

      • addPart

        public int addPart(java.util.List<Point3D> pointList,
                           float prismHeight)
        Add Part
        Parameters:
        pointList -
        prismHeight -
        Returns:
      • addPart

        public int addPart(Point2Ds point2Ds,
                           java.util.List<java.lang.Float> heightList,
                           float prismHeight)
        Add Part
        Parameters:
        point2Ds -
        heightList -
        prismHeight -
        Returns:
      • addPart

        public int[] addPart(GeoRegion geoRegion,
                             java.util.List<java.util.List<java.lang.Float>> heightsList,
                             float prismHeight)
        Add Part
        Parameters:
        geoRegion -
        heightsList -
        prismHeight -
        Returns:
      • reDrawByArPoint

        public void reDrawByArPoint()
        ReDraw
      • reDrawByGeoPoint

        public void reDrawByGeoPoint()
        ReDraw
      • reDrawByNewHeight

        public void reDrawByNewHeight(java.util.List<java.lang.Float> prismHeightList)
        ReDraw
      • removePart

        public boolean removePart(int index)
        Remove Part
        Parameters:
        index -
        Returns:
      • clear

        public void clear()
        Clear all
        Overrides:
        clear in class ARGeometry
      • getOutLine

        public BaseShape getOutLine()
        Gets OutLine
        Returns:
      • setOutLine

        public void setOutLine(BaseShape outLine)
        Sets OutLine
        Parameters:
        outLine -
      • getGeoRegion

        public GeoRegion getGeoRegion()
        Gets GeoRegion
        Returns:
      • getPartPoint2Ds

        public Point2Ds getPartPoint2Ds(int index)
        Description copied from class: ARGeometry
        Gets the geographic coordinate point collection object of the child object of the specified index
        Returns:
      • getPartVolume

        public float getPartVolume(int partIndex)
        Gets PartVolume
        Returns:
      • getPartCenterPoint

        public Point3D getPartCenterPoint(int partIndex)
        Gets The Part of CenterPoint
        Parameters:
        partIndex -
        Returns:
      • getPrismHeightList

        public java.util.List<java.lang.Float> getPrismHeightList()
        Gets Prism Heigh tList
        Returns:
      • setParentNode

        public void setParentNode(AREffectElement element)
        Setting the parent node
        Parameters:
        element -
      • setParentNode

        public void setParentNode(EffectView arView)
        Setting the parent node
        Parameters:
        arView -
      • getParentElement

        public AREffectElement getParentElement()
        Get the parent node
        Returns: