Points2

class sonic.Points2

Bases: sonic.GeometryP2

Constructor Summary
Points2(pts)

Constructs a Points object in P2/R2. This object can contain a multitude of points, including points at infinity.

Inputs:
  • pts: A set of points, either in P2 or R2. The source of the points is inferred from the dimension of the input points:

    • (2xn double): points are in R2

    • (3xn double): points are in P2

Outputs:
  • obj (sonic.Points2): Points2 object, a container for a multitude of 2D points.

Last revised: 2/15/24 Last author: Michael Krause

Property Summary
has_inf_points
inf_points
n
p2
p2_finite
p2_infinite
r2
r2_finite