类 ProtoFeature.Polygon
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- org.wowtools.giscat.vector.pojo.proto.ProtoFeature.Polygon
-
- 所有已实现的接口:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,ProtoFeature.PolygonOrBuilder
- 封闭类:
- ProtoFeature
public static final class ProtoFeature.Polygon extends com.google.protobuf.GeneratedMessageV3 implements ProtoFeature.PolygonOrBuilder
Polygon 包含多边形上各个点的x y z坐标,z可选。 separators用于将坐标串分割为环 例如,xs ys zs 形成了坐标串[p0,p1,p2,p3,p4,p5,p6,p7,p8,p9], 则separators=[3,7]将坐标串分割为多边形Polygon((p0 p1 p2),(p3 p4 p5 p6),(p7 p8 p9))。 即separators[i]的意义为第i个环的终点(从0开始计数);最后一个环的终点显然是数组的最后一位,故将其省略。 注意,由于环的最后一个坐标必然和第一个坐标相等,故将环的最后一个坐标省略,仅在转换为jts等对象时将其补全。
Protobuf typepojo.Polygon- 另请参阅:
- 序列化表格
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classProtoFeature.Polygon.BuilderPolygon 包含多边形上各个点的x y z坐标,z可选。-
从类继承的嵌套类/接口 com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
字段概要
字段 修饰符和类型 字段 说明 static intSEPARATORS_FIELD_NUMBERstatic intXS_FIELD_NUMBERstatic intYS_FIELD_NUMBERstatic intZS_FIELD_NUMBER
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 booleanequals(Object obj)static ProtoFeature.PolygongetDefaultInstance()ProtoFeature.PolygongetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Parser<ProtoFeature.Polygon>getParserForType()intgetSeparators(int index)repeated int32 separators = 4;intgetSeparatorsCount()repeated int32 separators = 4;List<Integer>getSeparatorsList()repeated int32 separators = 4;intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()doublegetXs(int index)repeated double xs = 1;intgetXsCount()repeated double xs = 1;List<Double>getXsList()repeated double xs = 1;doublegetYs(int index)repeated double ys = 2;intgetYsCount()repeated double ys = 2;List<Double>getYsList()repeated double ys = 2;doublegetZs(int index)repeated double zs = 3;intgetZsCount()repeated double zs = 3;List<Double>getZsList()repeated double zs = 3;inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static ProtoFeature.Polygon.BuildernewBuilder()static ProtoFeature.Polygon.BuildernewBuilder(ProtoFeature.Polygon prototype)ProtoFeature.Polygon.BuildernewBuilderForType()protected ProtoFeature.Polygon.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static ProtoFeature.PolygonparseDelimitedFrom(InputStream input)static ProtoFeature.PolygonparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ProtoFeature.PolygonparseFrom(byte[] data)static ProtoFeature.PolygonparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ProtoFeature.PolygonparseFrom(com.google.protobuf.ByteString data)static ProtoFeature.PolygonparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ProtoFeature.PolygonparseFrom(com.google.protobuf.CodedInputStream input)static ProtoFeature.PolygonparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ProtoFeature.PolygonparseFrom(InputStream input)static ProtoFeature.PolygonparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ProtoFeature.PolygonparseFrom(ByteBuffer data)static ProtoFeature.PolygonparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<ProtoFeature.Polygon>parser()ProtoFeature.Polygon.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
从类继承的方法 com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
从类继承的方法 com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
-
-
-
方法详细资料
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- 覆盖:
newInstance在类中com.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- 指定者:
getUnknownFields在接口中com.google.protobuf.MessageOrBuilder- 覆盖:
getUnknownFields在类中com.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- 指定者:
internalGetFieldAccessorTable在类中com.google.protobuf.GeneratedMessageV3
-
getXsList
public List<Double> getXsList()
repeated double xs = 1;- 指定者:
getXsList在接口中ProtoFeature.PolygonOrBuilder- 返回:
- A list containing the xs.
-
getXsCount
public int getXsCount()
repeated double xs = 1;- 指定者:
getXsCount在接口中ProtoFeature.PolygonOrBuilder- 返回:
- The count of xs.
-
getXs
public double getXs(int index)
repeated double xs = 1;- 指定者:
getXs在接口中ProtoFeature.PolygonOrBuilder- 参数:
index- The index of the element to return.- 返回:
- The xs at the given index.
-
getYsList
public List<Double> getYsList()
repeated double ys = 2;- 指定者:
getYsList在接口中ProtoFeature.PolygonOrBuilder- 返回:
- A list containing the ys.
-
getYsCount
public int getYsCount()
repeated double ys = 2;- 指定者:
getYsCount在接口中ProtoFeature.PolygonOrBuilder- 返回:
- The count of ys.
-
getYs
public double getYs(int index)
repeated double ys = 2;- 指定者:
getYs在接口中ProtoFeature.PolygonOrBuilder- 参数:
index- The index of the element to return.- 返回:
- The ys at the given index.
-
getZsList
public List<Double> getZsList()
repeated double zs = 3;- 指定者:
getZsList在接口中ProtoFeature.PolygonOrBuilder- 返回:
- A list containing the zs.
-
getZsCount
public int getZsCount()
repeated double zs = 3;- 指定者:
getZsCount在接口中ProtoFeature.PolygonOrBuilder- 返回:
- The count of zs.
-
getZs
public double getZs(int index)
repeated double zs = 3;- 指定者:
getZs在接口中ProtoFeature.PolygonOrBuilder- 参数:
index- The index of the element to return.- 返回:
- The zs at the given index.
-
getSeparatorsList
public List<Integer> getSeparatorsList()
repeated int32 separators = 4;- 指定者:
getSeparatorsList在接口中ProtoFeature.PolygonOrBuilder- 返回:
- A list containing the separators.
-
getSeparatorsCount
public int getSeparatorsCount()
repeated int32 separators = 4;- 指定者:
getSeparatorsCount在接口中ProtoFeature.PolygonOrBuilder- 返回:
- The count of separators.
-
getSeparators
public int getSeparators(int index)
repeated int32 separators = 4;- 指定者:
getSeparators在接口中ProtoFeature.PolygonOrBuilder- 参数:
index- The index of the element to return.- 返回:
- The separators at the given index.
-
isInitialized
public final boolean isInitialized()
- 指定者:
isInitialized在接口中com.google.protobuf.MessageLiteOrBuilder- 覆盖:
isInitialized在类中com.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- 指定者:
writeTo在接口中com.google.protobuf.MessageLite- 覆盖:
writeTo在类中com.google.protobuf.GeneratedMessageV3- 抛出:
IOException
-
getSerializedSize
public int getSerializedSize()
- 指定者:
getSerializedSize在接口中com.google.protobuf.MessageLite- 覆盖:
getSerializedSize在类中com.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- 指定者:
equals在接口中com.google.protobuf.Message- 覆盖:
equals在类中com.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- 指定者:
hashCode在接口中com.google.protobuf.Message- 覆盖:
hashCode在类中com.google.protobuf.AbstractMessage
-
parseFrom
public static ProtoFeature.Polygon parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ProtoFeature.Polygon parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ProtoFeature.Polygon parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ProtoFeature.Polygon parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ProtoFeature.Polygon parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ProtoFeature.Polygon parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ProtoFeature.Polygon parseFrom(InputStream input) throws IOException
- 抛出:
IOException
-
parseFrom
public static ProtoFeature.Polygon parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- 抛出:
IOException
-
parseDelimitedFrom
public static ProtoFeature.Polygon parseDelimitedFrom(InputStream input) throws IOException
- 抛出:
IOException
-
parseDelimitedFrom
public static ProtoFeature.Polygon parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- 抛出:
IOException
-
parseFrom
public static ProtoFeature.Polygon parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- 抛出:
IOException
-
parseFrom
public static ProtoFeature.Polygon parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- 抛出:
IOException
-
newBuilderForType
public ProtoFeature.Polygon.Builder newBuilderForType()
- 指定者:
newBuilderForType在接口中com.google.protobuf.Message- 指定者:
newBuilderForType在接口中com.google.protobuf.MessageLite
-
newBuilder
public static ProtoFeature.Polygon.Builder newBuilder()
-
newBuilder
public static ProtoFeature.Polygon.Builder newBuilder(ProtoFeature.Polygon prototype)
-
toBuilder
public ProtoFeature.Polygon.Builder toBuilder()
- 指定者:
toBuilder在接口中com.google.protobuf.Message- 指定者:
toBuilder在接口中com.google.protobuf.MessageLite
-
newBuilderForType
protected ProtoFeature.Polygon.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- 指定者:
newBuilderForType在类中com.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static ProtoFeature.Polygon getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ProtoFeature.Polygon> parser()
-
getParserForType
public com.google.protobuf.Parser<ProtoFeature.Polygon> getParserForType()
- 指定者:
getParserForType在接口中com.google.protobuf.Message- 指定者:
getParserForType在接口中com.google.protobuf.MessageLite- 覆盖:
getParserForType在类中com.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ProtoFeature.Polygon getDefaultInstanceForType()
- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageLiteOrBuilder- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageOrBuilder
-
-