SampleGeom2D

class sonic.SampleGeom2D
Method Summary
static conicPts(points, thetaRange)

Creates a Points2 object of points around the conic. The points are spaced out evenly in terms of angular separation.

Inputs:
  • obj (1x1 sonic.Conic object): Conic object to generate points on

  • points (1,1 double): OPTIONAL. Number of points to generate. Defaults to 360 points.

  • thetaRange (1,2 double): OPTIONAL. Angular position (in radians) to sample the conic from. Defaults to [-pi, pi].

Outputs:
  • conicPoints (1x1 sonic.Points2 object): Points2 object containing the generated points

Last revised: 10/30/24 Last author: Michela Mancini