Interface Box2D.PbShapeOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Box2D.PbShape, Box2D.PbShape.Builder
    Enclosing class:
    Box2D

    public static interface Box2D.PbShapeOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • hasTag

        boolean hasTag()
        optional int64 tag = 1;
        Returns:
        Whether the tag field is set.
      • getTag

        long getTag()
        optional int64 tag = 1;
        Returns:
        The tag.
      • hasType

        boolean hasType()
        required .box2d.PbShapeType type = 2;
        Returns:
        Whether the type field is set.
      • getType

        Box2D.PbShapeType getType()
        required .box2d.PbShapeType type = 2;
        Returns:
        The type.
      • hasCenter

        boolean hasCenter()
         circle
         
        optional .box2d.PbVec2 center = 10;
        Returns:
        Whether the center field is set.
      • getCenter

        Box2D.PbVec2 getCenter()
         circle
         
        optional .box2d.PbVec2 center = 10;
        Returns:
        The center.
      • getCenterOrBuilder

        Box2D.PbVec2OrBuilder getCenterOrBuilder()
         circle
         
        optional .box2d.PbVec2 center = 10;
      • hasRadius

        boolean hasRadius()
         circle
         
        optional float radius = 11;
        Returns:
        Whether the radius field is set.
      • getRadius

        float getRadius()
         circle
         
        optional float radius = 11;
        Returns:
        The radius.
      • getPointsList

        java.util.List<Box2D.PbVec2> getPointsList()
         polygon, chain
         
        repeated .box2d.PbVec2 points = 20;
      • getPoints

        Box2D.PbVec2 getPoints​(int index)
         polygon, chain
         
        repeated .box2d.PbVec2 points = 20;
      • getPointsCount

        int getPointsCount()
         polygon, chain
         
        repeated .box2d.PbVec2 points = 20;
      • getPointsOrBuilderList

        java.util.List<? extends Box2D.PbVec2OrBuilder> getPointsOrBuilderList()
         polygon, chain
         
        repeated .box2d.PbVec2 points = 20;
      • getPointsOrBuilder

        Box2D.PbVec2OrBuilder getPointsOrBuilder​(int index)
         polygon, chain
         
        repeated .box2d.PbVec2 points = 20;
      • getNormalsList

        java.util.List<Box2D.PbVec2> getNormalsList()
         polygon
         
        repeated .box2d.PbVec2 normals = 21;
      • getNormals

        Box2D.PbVec2 getNormals​(int index)
         polygon
         
        repeated .box2d.PbVec2 normals = 21;
      • getNormalsCount

        int getNormalsCount()
         polygon
         
        repeated .box2d.PbVec2 normals = 21;
      • getNormalsOrBuilderList

        java.util.List<? extends Box2D.PbVec2OrBuilder> getNormalsOrBuilderList()
         polygon
         
        repeated .box2d.PbVec2 normals = 21;
      • getNormalsOrBuilder

        Box2D.PbVec2OrBuilder getNormalsOrBuilder​(int index)
         polygon
         
        repeated .box2d.PbVec2 normals = 21;
      • hasCentroid

        boolean hasCentroid()
         polygon
         
        optional .box2d.PbVec2 centroid = 22;
        Returns:
        Whether the centroid field is set.
      • getCentroid

        Box2D.PbVec2 getCentroid()
         polygon
         
        optional .box2d.PbVec2 centroid = 22;
        Returns:
        The centroid.
      • getCentroidOrBuilder

        Box2D.PbVec2OrBuilder getCentroidOrBuilder()
         polygon
         
        optional .box2d.PbVec2 centroid = 22;
      • hasV0

        boolean hasV0()
         edge
         
        optional .box2d.PbVec2 v0 = 30;
        Returns:
        Whether the v0 field is set.
      • getV0

        Box2D.PbVec2 getV0()
         edge
         
        optional .box2d.PbVec2 v0 = 30;
        Returns:
        The v0.
      • hasV1

        boolean hasV1()
         edge
         
        optional .box2d.PbVec2 v1 = 31;
        Returns:
        Whether the v1 field is set.
      • getV1

        Box2D.PbVec2 getV1()
         edge
         
        optional .box2d.PbVec2 v1 = 31;
        Returns:
        The v1.
      • hasV2

        boolean hasV2()
         edge
         
        optional .box2d.PbVec2 v2 = 32;
        Returns:
        Whether the v2 field is set.
      • getV2

        Box2D.PbVec2 getV2()
         edge
         
        optional .box2d.PbVec2 v2 = 32;
        Returns:
        The v2.
      • hasV3

        boolean hasV3()
         edge
         
        optional .box2d.PbVec2 v3 = 33;
        Returns:
        Whether the v3 field is set.
      • getV3

        Box2D.PbVec2 getV3()
         edge
         
        optional .box2d.PbVec2 v3 = 33;
        Returns:
        The v3.
      • hasHas0

        boolean hasHas0()
         edge, chain
         
        optional bool has0 = 34;
        Returns:
        Whether the has0 field is set.
      • getHas0

        boolean getHas0()
         edge, chain
         
        optional bool has0 = 34;
        Returns:
        The has0.
      • hasHas3

        boolean hasHas3()
         edge, chain
         
        optional bool has3 = 35;
        Returns:
        Whether the has3 field is set.
      • getHas3

        boolean getHas3()
         edge, chain
         
        optional bool has3 = 35;
        Returns:
        The has3.
      • hasPrev

        boolean hasPrev()
         chain
         
        optional .box2d.PbVec2 prev = 40;
        Returns:
        Whether the prev field is set.
      • getPrev

        Box2D.PbVec2 getPrev()
         chain
         
        optional .box2d.PbVec2 prev = 40;
        Returns:
        The prev.
      • hasNext

        boolean hasNext()
         chain
         
        optional .box2d.PbVec2 next = 41;
        Returns:
        Whether the next field is set.
      • getNext

        Box2D.PbVec2 getNext()
         chain
         
        optional .box2d.PbVec2 next = 41;
        Returns:
        The next.