com.supermap.ar.areffect.preset

Class ARGeoHorizontalRegion



  • public class ARGeoHorizontalRegion
    extends ARGeometry
    The plane geometry object. The class describes the regional entity using one or multiple ordered points.
    • Constructor Detail

      • ARGeoHorizontalRegion

        public ARGeoHorizontalRegion()
        Construction method
      • ARGeoHorizontalRegion

        public ARGeoHorizontalRegion(BaseShape.MatType matType)
        Construction method
        Parameters:
        matType - texture type (transparent/opaque)
    • Method Detail

      • addPart

        public void addPart(java.util.List<Point3D> pointList)
      • drawRegion

        public void drawRegion(java.util.List<Point3D> pointList)
        Draws AR polygons (on horizontal plane)
        Parameters:
        pointList - End-to-end point set
      • drawRegion

        public void drawRegion(GeoRegion geometry)
        Draws geometric objects
        Parameters:
        geometry - The plane geometry object.
      • drawRegion

        public void drawRegion(float startUpAzimuth,
                               Location startUpLocation,
                               GeoRegion geometry)
        Draws geometric objects
        Parameters:
        startUpAzimuth - the start azimuth
        startUpLocation - the start position
        geometry - The plane geometry object.
      • getGeoRegion

        public GeoRegion getGeoRegion()
        Gets regional objects.
        Returns:
      • getRenderHeight

        public float getRenderHeight()
        Gets the rendering height
        Returns:
      • setRenderHeight

        public void setRenderHeight(float renderHeight)
        Sets the rendering height
        Parameters:
        renderHeight -
      • clear

        public void clear()
        Clears objects
        Overrides:
        clear in class ARGeometry
      • getPart

        public Point2Ds getPart(int index)
        Returns the sub object with the specified index in the object in the form of an ordered point collection.
        Parameters:
        index -
        Returns:
      • getPartCount

        public int getPartCount()
        Returns the number of the sub objects of the objects
        Overrides:
        getPartCount in class ARGeometry
        Returns:
      • getPartArea

        public float getPartArea(int partIndex)
        Gets the area of the specified sub object.
        Parameters:
        partIndex -
        Returns:
      • getPartCenterPoint

        public Point3D getPartCenterPoint(int partIndex)
        Gets the geometric center of the specified sub object.
        Parameters:
        partIndex -
        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:
      • 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: