Package org.photonvision.targeting
Class TargetCorner
java.lang.Object
org.photonvision.targeting.TargetCorner
- All Implemented Interfaces:
edu.wpi.first.util.protobuf.ProtobufSerializable
,edu.wpi.first.util.WPISerializable
public class TargetCorner
extends Object
implements edu.wpi.first.util.protobuf.ProtobufSerializable
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.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TargetCornerProto
static final TargetCorner.APacketSerde
final double
final double
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
x
public final double x -
y
public final double y -
serde
-
proto
-
-
Constructor Details
-
TargetCorner
public TargetCorner(double cx, double cy)
-
-
Method Details