Lines3¶
- class sonic.Lines3¶
Bases:
sonic.GeometryP3
- Constructor Summary
- Lines3(varargin)¶
Container for Lines in P3. Can hold a multitude of lines, and can be parameterized by Plucker coordinates, Plucker matrices, or points and directions. See Inputs for details.
- Inputs:
plucker_coords (6xn double): A set of Plucker coordinates defining n lines in P3. Each column corresponds to a line.
OR
plucker_mtx (4x4xn double): A set of Plucker matrices defining n lines in P3. Each 4x4 matrix corresponds to a line.
OR
points (3xn double): A set of n points, where the n-th line passes through the n-th point.
direc (3xn double): A set of n unit vectors, where the n-th line is parallel to this unit vector.
- Outputs:
obj (1x1 sonic.Lines3): Lines3 object, containing information about n lines.
Last revised: 4/08/24 Last author: Michael Krause
- Property Summary
- direction¶
- moment¶
Can extract moment and direction of a line from the Plucker coordinates as well:
- n¶
Number of lines represented in this object:
- plucker¶
Primarily encoding these lines in Plucker coords:
- plucker_dual¶
Dual is just flip of Plucker coords:
- plucker_mtx¶
Matrix is calculated from the Plucker coords on the fly:
- plucker_mtx_dual¶
Matrix dual is calculated from the Plucker dual coords on the fly: