pose_format.torch.representation.point_line_distance_test module

Classes:

TestPointLineDistanceRepresentation([methodName])

Test suite for the PointLineDistanceRepresentation.

class pose_format.torch.representation.point_line_distance_test.TestPointLineDistanceRepresentation(methodName='runTest')[source]

Bases: TestCase

Test suite for the PointLineDistanceRepresentation.

Methods:

test_call_masked_value_should_be_zero()

Tests distance for masked values is zero.

test_call_value_should_be_distance()

Tests that computed distance between a point and a line is as expected.

test_call_masked_value_should_be_zero()[source]

Tests distance for masked values is zero.

test_call_value_should_be_distance()[source]

Tests that computed distance between a point and a line is as expected.