Class PolygonType
- All Implemented Interfaces:
com.kscs.util.jaxb.Copyable,com.kscs.util.jaxb.PartialCopyable,Cloneable,org.jvnet.jaxb.lang.MergeFrom,org.jvnet.jaxb.lang.ToString
@Generated(value="com.sun.tools.xjc.Driver",
comments="JAXB RI v4.0.4",
date="2025-08-12T08:31:32+01:00")
public class PolygonType
extends ShapeType
implements Cloneable, com.kscs.util.jaxb.Copyable, com.kscs.util.jaxb.PartialCopyable, org.jvnet.jaxb.lang.MergeFrom, org.jvnet.jaxb.lang.ToString
Polygon: one or more vertices; counter-clockwise (as seen from "inside" or from "top") encircled area is enclosed; sides should span less than 180 deg in each coordinate if spherical; a polygon may not intersect itself
Java class for polygonType complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="polygonType">
<complexContent>
<extension base="{http://www.ivoa.net/xml/STC/stc-v1.30.xsd}shapeType">
<sequence>
<element name="Vertex" type="{http://www.ivoa.net/xml/STC/stc-v1.30.xsd}vertexType" maxOccurs="unbounded"/>
</sequence>
</extension>
</complexContent>
</complexType>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classclassstatic classstatic classstatic classPolygonType.Selector<TRoot extends com.kscs.util.jaxb.Selector<TRoot,?>, TParent> -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<VertexType>In order to form polygons, vertices are to be connected with straight line segments.Fields inherited from class org.javastro.ivoa.entities.stc.v1.RegionType
area, coordSystemId, noteFields inherited from class org.javastro.ivoa.entities.stc.v1.SpatialIntervalType
epoch, unitFields inherited from class org.javastro.ivoa.entities.stc.v1.CoordIntervalType
fillFactor, frameId, hiInclude, loIncludeFields inherited from class org.javastro.ivoa.entities.stc.v1.StcBaseType
__cachedModifier__, href, id, idref, idrefType, idType, type, ucd -
Constructor Summary
ConstructorsConstructorDescriptionDefault no-arg constructorPolygonType(String id, Object idref, String ucd, String type, String href, String idType, String idrefType, Boolean loInclude, Boolean hiInclude, Float fillFactor, Object frameId, BigDecimal epoch, String unit, RegionAreaType area, String note, Object coordSystemId, List<VertexType> vertices) Fully-initialising value constructor -
Method Summary
Modifier and TypeMethodDescriptionappend(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) appendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) static PolygonType.Builder<Void>builder()clone()copyExcept(com.kscs.util.jaxb.PropertyTree _propertyTree) static PolygonType.Builder<Void>copyExcept(CoordIntervalType _other, com.kscs.util.jaxb.PropertyTree _propertyTree) static PolygonType.Builder<Void>copyExcept(PolygonType _other, com.kscs.util.jaxb.PropertyTree _propertyTree) static PolygonType.Builder<Void>copyExcept(RegionType _other, com.kscs.util.jaxb.PropertyTree _propertyTree) static PolygonType.Builder<Void>copyExcept(ShapeType _other, com.kscs.util.jaxb.PropertyTree _propertyTree) static PolygonType.Builder<Void>copyExcept(SpatialIntervalType _other, com.kscs.util.jaxb.PropertyTree _propertyTree) static PolygonType.Builder<Void>copyExcept(StcBaseType _other, com.kscs.util.jaxb.PropertyTree _propertyTree) static <_B> PolygonType.Builder<_B>copyOf(CoordIntervalType _other) static <_B> PolygonType.Builder<_B>copyOf(CoordIntervalType _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) static <_B> PolygonType.Builder<_B>copyOf(PolygonType _other) static <_B> PolygonType.Builder<_B>copyOf(PolygonType _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) static <_B> PolygonType.Builder<_B>copyOf(RegionType _other) static <_B> PolygonType.Builder<_B>copyOf(RegionType _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) static <_B> PolygonType.Builder<_B>static <_B> PolygonType.Builder<_B>copyOf(ShapeType _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) static <_B> PolygonType.Builder<_B>copyOf(SpatialIntervalType _other) static <_B> PolygonType.Builder<_B>copyOf(SpatialIntervalType _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) static <_B> PolygonType.Builder<_B>copyOf(StcBaseType _other) static <_B> PolygonType.Builder<_B>copyOf(StcBaseType _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) copyOnly(com.kscs.util.jaxb.PropertyTree _propertyTree) static PolygonType.Builder<Void>copyOnly(CoordIntervalType _other, com.kscs.util.jaxb.PropertyTree _propertyTree) static PolygonType.Builder<Void>copyOnly(PolygonType _other, com.kscs.util.jaxb.PropertyTree _propertyTree) static PolygonType.Builder<Void>copyOnly(RegionType _other, com.kscs.util.jaxb.PropertyTree _propertyTree) static PolygonType.Builder<Void>static PolygonType.Builder<Void>copyOnly(SpatialIntervalType _other, com.kscs.util.jaxb.PropertyTree _propertyTree) static PolygonType.Builder<Void>copyOnly(StcBaseType _other, com.kscs.util.jaxb.PropertyTree _propertyTree) <_B> voidcopyTo(PolygonType.Builder<_B> _other) Copies all state of this object to a builder.<_B> voidcopyTo(PolygonType.Builder<_B> _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) Copies all state of this object to a builder.createCopy(com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) booleanIn order to form polygons, vertices are to be connected with straight line segments.inthashCode()voidvoidmergeFrom(org.jvnet.jaxb.locator.ObjectLocator leftLocator, org.jvnet.jaxb.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb.lang.MergeStrategy strategy) modifier()<_B> PolygonType.Builder<_B>newCopyBuilder(_B _parentBuilder) <_B> PolygonType.Builder<_B>newCopyBuilder(_B _parentBuilder, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) newCopyBuilder(com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) toString()visit(com.kscs.util.jaxb.PropertyVisitor _visitor_) Methods inherited from class org.javastro.ivoa.entities.stc.v1.RegionType
copyTo, copyTo, getArea, getCoordSystemId, getNote, setArea, setCoordSystemId, setNoteMethods inherited from class org.javastro.ivoa.entities.stc.v1.SpatialIntervalType
copyTo, copyTo, getEpoch, getUnit, setEpoch, setUnitMethods inherited from class org.javastro.ivoa.entities.stc.v1.CoordIntervalType
copyTo, copyTo, getFillFactor, getFrameId, isHiInclude, isLoInclude, setFillFactor, setFrameId, setHiInclude, setLoInclude
-
Field Details
-
vertices
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") protected List<VertexType> verticesIn order to form polygons, vertices are to be connected with straight line segments. In the case of spherical coordinates: greatcircle segments; if a smallCircle element si present, the vertex and its predecessor are to be connected with a smallcircle, by default in the CoordSys that is referenced; optionally, a pole may be specified (other than the CoordSys pole) that defines the smallcircle system
-
-
Constructor Details
-
PolygonType
public PolygonType()Default no-arg constructor -
PolygonType
public PolygonType(String id, Object idref, String ucd, String type, String href, String idType, String idrefType, Boolean loInclude, Boolean hiInclude, Float fillFactor, Object frameId, BigDecimal epoch, String unit, RegionAreaType area, String note, Object coordSystemId, List<VertexType> vertices) Fully-initialising value constructor
-
-
Method Details
-
getVertices
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public List<VertexType> getVertices()In order to form polygons, vertices are to be connected with straight line segments. In the case of spherical coordinates: greatcircle segments; if a smallCircle element si present, the vertex and its predecessor are to be connected with a smallcircle, by default in the CoordSys that is referenced; optionally, a pole may be specified (other than the CoordSys pole) that defines the smallcircle system Gets the value of the vertices property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the vertices property.For example, to add a new item, do as follows:
getVertices().add(newItem);
Objects of the following type(s) are allowed in the list
VertexType- Returns:
- The value of the vertices property.
-
equals
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public boolean equals(Object object) -
hashCode
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public int hashCode() -
toString
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public String toString() -
append
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public StringBuilder append(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) -
appendFields
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public StringBuilder appendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) - Specified by:
appendFieldsin interfaceorg.jvnet.jaxb.lang.ToString- Overrides:
appendFieldsin classShapeType
-
mergeFrom
-
mergeFrom
-
createNewInstance
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public Object createNewInstance()- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb.lang.MergeFrom- Overrides:
createNewInstancein classShapeType
-
clone
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public PolygonType clone() -
createCopy
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public PolygonType createCopy()- Specified by:
createCopyin interfacecom.kscs.util.jaxb.Copyable- Overrides:
createCopyin classShapeType
-
createCopy
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public PolygonType createCopy(com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) - Specified by:
createCopyin interfacecom.kscs.util.jaxb.PartialCopyable- Overrides:
createCopyin classShapeType
-
copyExcept
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public PolygonType copyExcept(com.kscs.util.jaxb.PropertyTree _propertyTree) - Specified by:
copyExceptin interfacecom.kscs.util.jaxb.PartialCopyable- Overrides:
copyExceptin classShapeType
-
copyOnly
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public PolygonType copyOnly(com.kscs.util.jaxb.PropertyTree _propertyTree) -
modifier
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public PolygonType.Modifier modifier() -
copyTo
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public <_B> void copyTo(PolygonType.Builder<_B> _other) Copies all state of this object to a builder. This method is used by the copyOf method and should not be called directly by client code.- Parameters:
_other- A builder instance to which the state of this object will be copied.
-
newCopyBuilder
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public <_B> PolygonType.Builder<_B> newCopyBuilder(_B _parentBuilder) - Overrides:
newCopyBuilderin classShapeType
-
newCopyBuilder
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public PolygonType.Builder<Void> newCopyBuilder()- Overrides:
newCopyBuilderin classShapeType
-
builder
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public static PolygonType.Builder<Void> builder() -
copyOf
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public static <_B> PolygonType.Builder<_B> copyOf(StcBaseType _other) -
copyOf
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public static <_B> PolygonType.Builder<_B> copyOf(CoordIntervalType _other) -
copyOf
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public static <_B> PolygonType.Builder<_B> copyOf(SpatialIntervalType _other) -
copyOf
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public static <_B> PolygonType.Builder<_B> copyOf(RegionType _other) -
copyOf
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public static <_B> PolygonType.Builder<_B> copyOf(ShapeType _other) -
copyOf
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public static <_B> PolygonType.Builder<_B> copyOf(PolygonType _other) -
copyTo
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public <_B> void copyTo(PolygonType.Builder<_B> _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) Copies all state of this object to a builder. This method is used by the copyOf method and should not be called directly by client code.- Parameters:
_other- A builder instance to which the state of this object will be copied.
-
newCopyBuilder
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public <_B> PolygonType.Builder<_B> newCopyBuilder(_B _parentBuilder, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) - Overrides:
newCopyBuilderin classShapeType
-
newCopyBuilder
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public PolygonType.Builder<Void> newCopyBuilder(com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) - Overrides:
newCopyBuilderin classShapeType
-
copyOf
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public static <_B> PolygonType.Builder<_B> copyOf(StcBaseType _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) -
copyOf
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public static <_B> PolygonType.Builder<_B> copyOf(CoordIntervalType _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) -
copyOf
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public static <_B> PolygonType.Builder<_B> copyOf(SpatialIntervalType _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) -
copyOf
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public static <_B> PolygonType.Builder<_B> copyOf(RegionType _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) -
copyOf
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public static <_B> PolygonType.Builder<_B> copyOf(ShapeType _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) -
copyOf
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public static <_B> PolygonType.Builder<_B> copyOf(PolygonType _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) -
copyExcept
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public static PolygonType.Builder<Void> copyExcept(StcBaseType _other, com.kscs.util.jaxb.PropertyTree _propertyTree) -
copyExcept
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public static PolygonType.Builder<Void> copyExcept(CoordIntervalType _other, com.kscs.util.jaxb.PropertyTree _propertyTree) -
copyExcept
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public static PolygonType.Builder<Void> copyExcept(SpatialIntervalType _other, com.kscs.util.jaxb.PropertyTree _propertyTree) -
copyExcept
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public static PolygonType.Builder<Void> copyExcept(RegionType _other, com.kscs.util.jaxb.PropertyTree _propertyTree) -
copyExcept
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public static PolygonType.Builder<Void> copyExcept(ShapeType _other, com.kscs.util.jaxb.PropertyTree _propertyTree) -
copyExcept
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public static PolygonType.Builder<Void> copyExcept(PolygonType _other, com.kscs.util.jaxb.PropertyTree _propertyTree) -
copyOnly
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public static PolygonType.Builder<Void> copyOnly(StcBaseType _other, com.kscs.util.jaxb.PropertyTree _propertyTree) -
copyOnly
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public static PolygonType.Builder<Void> copyOnly(CoordIntervalType _other, com.kscs.util.jaxb.PropertyTree _propertyTree) -
copyOnly
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public static PolygonType.Builder<Void> copyOnly(SpatialIntervalType _other, com.kscs.util.jaxb.PropertyTree _propertyTree) -
copyOnly
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public static PolygonType.Builder<Void> copyOnly(RegionType _other, com.kscs.util.jaxb.PropertyTree _propertyTree) -
copyOnly
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public static PolygonType.Builder<Void> copyOnly(ShapeType _other, com.kscs.util.jaxb.PropertyTree _propertyTree) -
copyOnly
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public static PolygonType.Builder<Void> copyOnly(PolygonType _other, com.kscs.util.jaxb.PropertyTree _propertyTree) -
visit
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public PolygonType visit(com.kscs.util.jaxb.PropertyVisitor _visitor_)
-