Operator Reference

pluecker_line_to_pointspluecker_line_to_pointsPlueckerLineToPointsPlueckerLineToPointspluecker_line_to_points (Operator)

pluecker_line_to_pointspluecker_line_to_pointsPlueckerLineToPointsPlueckerLineToPointspluecker_line_to_points — Convert a 3D line given by Plücker coordinates to a 3D line given by two points.

Signature

Herror pluecker_line_to_points(double LineDirectionX, double LineDirectionY, double LineDirectionZ, double LineMomentX, double LineMomentY, double LineMomentZ, double* Point1X, double* Point1Y, double* Point1Z, double* Point2X, double* Point2Y, double* Point2Z)

Herror T_pluecker_line_to_points(const Htuple LineDirectionX, const Htuple LineDirectionY, const Htuple LineDirectionZ, const Htuple LineMomentX, const Htuple LineMomentY, const Htuple LineMomentZ, Htuple* Point1X, Htuple* Point1Y, Htuple* Point1Z, Htuple* Point2X, Htuple* Point2Y, Htuple* Point2Z)

void PlueckerLineToPoints(const HTuple& LineDirectionX, const HTuple& LineDirectionY, const HTuple& LineDirectionZ, const HTuple& LineMomentX, const HTuple& LineMomentY, const HTuple& LineMomentZ, HTuple* Point1X, HTuple* Point1Y, HTuple* Point1Z, HTuple* Point2X, HTuple* Point2Y, HTuple* Point2Z)

static void HMisc::PlueckerLineToPoints(const HTuple& LineDirectionX, const HTuple& LineDirectionY, const HTuple& LineDirectionZ, const HTuple& LineMomentX, const HTuple& LineMomentY, const HTuple& LineMomentZ, HTuple* Point1X, HTuple* Point1Y, HTuple* Point1Z, HTuple* Point2X, HTuple* Point2Y, HTuple* Point2Z)

static void HMisc::PlueckerLineToPoints(double LineDirectionX, double LineDirectionY, double LineDirectionZ, double LineMomentX, double LineMomentY, double LineMomentZ, double* Point1X, double* Point1Y, double* Point1Z, double* Point2X, double* Point2Y, double* Point2Z)

static void HOperatorSet.PlueckerLineToPoints(HTuple lineDirectionX, HTuple lineDirectionY, HTuple lineDirectionZ, HTuple lineMomentX, HTuple lineMomentY, HTuple lineMomentZ, out HTuple point1X, out HTuple point1Y, out HTuple point1Z, out HTuple point2X, out HTuple point2Y, out HTuple point2Z)

static void HMisc.PlueckerLineToPoints(HTuple lineDirectionX, HTuple lineDirectionY, HTuple lineDirectionZ, HTuple lineMomentX, HTuple lineMomentY, HTuple lineMomentZ, out HTuple point1X, out HTuple point1Y, out HTuple point1Z, out HTuple point2X, out HTuple point2Y, out HTuple point2Z)

static void HMisc.PlueckerLineToPoints(double lineDirectionX, double lineDirectionY, double lineDirectionZ, double lineMomentX, double lineMomentY, double lineMomentZ, out double point1X, out double point1Y, out double point1Z, out double point2X, out double point2Y, out double point2Z)

def pluecker_line_to_points(line_direction_x: MaybeSequence[float], line_direction_y: MaybeSequence[float], line_direction_z: MaybeSequence[float], line_moment_x: MaybeSequence[float], line_moment_y: MaybeSequence[float], line_moment_z: MaybeSequence[float]) -> Tuple[Sequence[float], Sequence[float], Sequence[float], Sequence[float], Sequence[float], Sequence[float]]

def pluecker_line_to_points_s(line_direction_x: MaybeSequence[float], line_direction_y: MaybeSequence[float], line_direction_z: MaybeSequence[float], line_moment_x: MaybeSequence[float], line_moment_y: MaybeSequence[float], line_moment_z: MaybeSequence[float]) -> Tuple[float, float, float, float, float, float]

Description

pluecker_line_to_pointspluecker_line_to_pointsPlueckerLineToPointsPlueckerLineToPointspluecker_line_to_points converts a 3D line given by Plücker coordinates (LineDirectionXLineDirectionXLineDirectionXlineDirectionXline_direction_x, LineDirectionYLineDirectionYLineDirectionYlineDirectionYline_direction_y, LineDirectionZLineDirectionZLineDirectionZlineDirectionZline_direction_z) and (LineMomentXLineMomentXLineMomentXlineMomentXline_moment_x, LineMomentYLineMomentYLineMomentYlineMomentYline_moment_y, LineMomentZLineMomentZLineMomentZlineMomentZline_moment_z). to a line given by two points on the line (Point1XPoint1XPoint1Xpoint1Xpoint_1x, Point1YPoint1YPoint1Ypoint1Ypoint_1y, Point1ZPoint1ZPoint1Zpoint1Zpoint_1z) and (Point2XPoint2XPoint2Xpoint2Xpoint_2x, Point2YPoint2YPoint2Ypoint2Ypoint_2y, Point2ZPoint2ZPoint2Zpoint2Zpoint_2z). For the definition of Plücker coordinates, see “Solution Guide III-C - 3D Vision”. All input tuples must be of same length.

Let denote the line direction (LineDirectionXLineDirectionXLineDirectionXlineDirectionXline_direction_x, LineDirectionYLineDirectionYLineDirectionYlineDirectionYline_direction_y, LineDirectionZLineDirectionZLineDirectionZlineDirectionZline_direction_z), the line moment (LineMomentXLineMomentXLineMomentXlineMomentXline_moment_x, LineMomentYLineMomentYLineMomentYlineMomentYline_moment_y, LineMomentZLineMomentZLineMomentZlineMomentZline_moment_z), the first point (Point1XPoint1XPoint1Xpoint1Xpoint_1x, Point1YPoint1YPoint1Ypoint1Ypoint_1y, Point1ZPoint1ZPoint1Zpoint1Zpoint_1z) on the line, and the second point (Point2XPoint2XPoint2Xpoint2Xpoint_2x, Point2YPoint2YPoint2Ypoint2Ypoint_2y, Point2ZPoint2ZPoint2Zpoint2Zpoint_2z) on the line. Then, and . Note that is the point on the line closest to the origin.

Execution Information

  • Multithreading type: reentrant (runs in parallel with non-exclusive operators).
  • Multithreading scope: global (may be called from any thread).
  • Processed without parallelization.

Parameters

LineDirectionXLineDirectionXLineDirectionXlineDirectionXline_direction_x (input_control)  point3d.x(-array) HTupleMaybeSequence[float]HTupleHtuple (real) (double) (double) (double)

X component of the direction vector of the line.

LineDirectionYLineDirectionYLineDirectionYlineDirectionYline_direction_y (input_control)  point3d.y(-array) HTupleMaybeSequence[float]HTupleHtuple (real) (double) (double) (double)

Y component of the direction vector of the line.

LineDirectionZLineDirectionZLineDirectionZlineDirectionZline_direction_z (input_control)  point3d.z(-array) HTupleMaybeSequence[float]HTupleHtuple (real) (double) (double) (double)

Z component of the direction vector of the line.

LineMomentXLineMomentXLineMomentXlineMomentXline_moment_x (input_control)  point3d.x(-array) HTupleMaybeSequence[float]HTupleHtuple (real) (double) (double) (double)

X component of the moment vector of the line.

LineMomentYLineMomentYLineMomentYlineMomentYline_moment_y (input_control)  point3d.y(-array) HTupleMaybeSequence[float]HTupleHtuple (real) (double) (double) (double)

Y component of the moment vector of the line.

LineMomentZLineMomentZLineMomentZlineMomentZline_moment_z (input_control)  point3d.z(-array) HTupleMaybeSequence[float]HTupleHtuple (real) (double) (double) (double)

Z component of the moment vector of the line.

Point1XPoint1XPoint1Xpoint1Xpoint_1x (output_control)  point3d.x(-array) HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)

X coordinate of the first point on the line.

Point1YPoint1YPoint1Ypoint1Ypoint_1y (output_control)  point3d.y(-array) HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)

Y coordinate of the first point on the line.

Point1ZPoint1ZPoint1Zpoint1Zpoint_1z (output_control)  point3d.z(-array) HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)

Z coordinate of the first point on the line.

Point2XPoint2XPoint2Xpoint2Xpoint_2x (output_control)  point3d.x(-array) HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)

X coordinate of the second point on the line.

Point2YPoint2YPoint2Ypoint2Ypoint_2y (output_control)  point3d.y(-array) HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)

Y coordinate of the second point on the line.

Point2ZPoint2ZPoint2Zpoint2Zpoint_2z (output_control)  point3d.z(-array) HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)

Z coordinate of the second point on the line.

Possible Successors

distance_point_linedistance_point_lineDistancePointLineDistancePointLinedistance_point_line

Alternatives

pluecker_line_to_point_directionpluecker_line_to_point_directionPlueckerLineToPointDirectionPlueckerLineToPointDirectionpluecker_line_to_point_direction

See also

points_to_pluecker_linepoints_to_pluecker_linePointsToPlueckerLinePointsToPlueckerLinepoints_to_pluecker_line

Module

Foundation