Package org.photonvision.targeting
Class TargetCorner
java.lang.Object
org.photonvision.targeting.TargetCorner
- All Implemented Interfaces:
ProtobufSerializable,WPISerializable,PhotonStructSerializable<TargetCorner>
public class TargetCorner
extends Object
implements ProtobufSerializable, PhotonStructSerializable<TargetCorner>
Represents a point in an image at the corner of the minimum-area bounding rectangle, in pixels.
Origin at the top left, plus-x to the right, plus-y down.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TargetCornerSerdeTargetCorner PhotonStruct for serialization.static final TargetCornerProtoTargetCorner protobuf for serialization.doubledouble -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
x
-
y
-
proto
TargetCorner protobuf for serialization. -
photonStruct
TargetCorner PhotonStruct for serialization.
-
-
Constructor Details
-
TargetCorner
-
TargetCorner
public TargetCorner()
-
-
Method Details
-
equals
-
hashCode
-
toString
-
getSerde
Description copied from interface:PhotonStructSerializableReturns the PhotonStruct serializer for this type.- Specified by:
getSerdein interfacePhotonStructSerializable<TargetCorner>- Returns:
- The PhotonStruct serializer
-