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 Summary
Modifier and TypeMethodDescriptioncirclecirclepolygonpolygonbooleangetHas0()edge, chainbooleangetHas3()edge, chaingetNext()chainchaingetNormals(int index) polygonintpolygonjava.util.List<Box2D.PbVec2> polygongetNormalsOrBuilder(int index) polygonjava.util.List<? extends Box2D.PbVec2OrBuilder> polygongetPoints(int index) polygon, chainintpolygon, chainjava.util.List<Box2D.PbVec2> polygon, chaingetPointsOrBuilder(int index) polygon, chainjava.util.List<? extends Box2D.PbVec2OrBuilder> polygon, chaingetPrev()chainchainfloatcirclelonggetTag()optional int64 tag = 1;getType()required .box2d.PbShapeType type = 2;getV0()edgeedgegetV1()edgeedgegetV2()edgeedgegetV3()edgeedgebooleancirclebooleanpolygonbooleanhasHas0()edge, chainbooleanhasHas3()edge, chainbooleanhasNext()chainbooleanhasPrev()chainbooleancirclebooleanhasTag()optional int64 tag = 1;booleanhasType()required .box2d.PbShapeType type = 2;booleanhasV0()edgebooleanhasV1()edgebooleanhasV2()edgebooleanhasV3()edgeMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
-
hasCenter
boolean hasCenter()circle
optional .box2d.PbVec2 center = 10;- Returns:
- Whether the center field is set.
-
getCenter
-
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
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
polygon, chain
repeated .box2d.PbVec2 points = 20; -
getNormalsList
java.util.List<Box2D.PbVec2> getNormalsList()polygon
repeated .box2d.PbVec2 normals = 21; -
getNormals
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
polygon
repeated .box2d.PbVec2 normals = 21; -
hasCentroid
boolean hasCentroid()polygon
optional .box2d.PbVec2 centroid = 22;- Returns:
- Whether the centroid field is set.
-
getCentroid
-
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
-
getV0OrBuilder
Box2D.PbVec2OrBuilder getV0OrBuilder()edge
optional .box2d.PbVec2 v0 = 30; -
hasV1
boolean hasV1()edge
optional .box2d.PbVec2 v1 = 31;- Returns:
- Whether the v1 field is set.
-
getV1
-
getV1OrBuilder
Box2D.PbVec2OrBuilder getV1OrBuilder()edge
optional .box2d.PbVec2 v1 = 31; -
hasV2
boolean hasV2()edge
optional .box2d.PbVec2 v2 = 32;- Returns:
- Whether the v2 field is set.
-
getV2
-
getV2OrBuilder
Box2D.PbVec2OrBuilder getV2OrBuilder()edge
optional .box2d.PbVec2 v2 = 32; -
hasV3
boolean hasV3()edge
optional .box2d.PbVec2 v3 = 33;- Returns:
- Whether the v3 field is set.
-
getV3
-
getV3OrBuilder
Box2D.PbVec2OrBuilder getV3OrBuilder()edge
optional .box2d.PbVec2 v3 = 33; -
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
-
getPrevOrBuilder
Box2D.PbVec2OrBuilder getPrevOrBuilder()chain
optional .box2d.PbVec2 prev = 40; -
hasNext
boolean hasNext()chain
optional .box2d.PbVec2 next = 41;- Returns:
- Whether the next field is set.
-
getNext
-
getNextOrBuilder
Box2D.PbVec2OrBuilder getNextOrBuilder()chain
optional .box2d.PbVec2 next = 41;
-