pluecker_line_to_points pluecker_line_to_points PlueckerLineToPoints PlueckerLineToPoints pluecker_line_to_points (Operator)
pluecker_line_to_points pluecker_line_to_points PlueckerLineToPoints PlueckerLineToPoints pluecker_line_to_points
— Convert a 3D line given by Plücker coordinates to a 3D line given by
two points.
Signature
pluecker_line_to_points ( : : LineDirectionX , LineDirectionY , LineDirectionZ , LineMomentX , LineMomentY , LineMomentZ : Point1X , Point1Y , Point1Z , Point2X , Point2Y , Point2Z )
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_points pluecker_line_to_points PlueckerLineToPoints PlueckerLineToPoints pluecker_line_to_points
converts a 3D line given by Plücker
coordinates
(LineDirectionX LineDirectionX LineDirectionX lineDirectionX line_direction_x
, LineDirectionY LineDirectionY LineDirectionY lineDirectionY line_direction_y
, LineDirectionZ LineDirectionZ LineDirectionZ lineDirectionZ line_direction_z
)
and
(LineMomentX LineMomentX LineMomentX lineMomentX line_moment_x
, LineMomentY LineMomentY LineMomentY lineMomentY line_moment_y
, LineMomentZ LineMomentZ LineMomentZ lineMomentZ line_moment_z
).
to a line given by two points on the line
(Point1X Point1X Point1X point1X point_1x
, Point1Y Point1Y Point1Y point1Y point_1y
, Point1Z Point1Z Point1Z point1Z point_1z
) and
(Point2X Point2X Point2X point2X point_2x
, Point2Y Point2Y Point2Y point2Y point_2y
, Point2Z Point2Z Point2Z point2Z point_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
(LineDirectionX LineDirectionX LineDirectionX lineDirectionX line_direction_x
, LineDirectionY LineDirectionY LineDirectionY lineDirectionY line_direction_y
, LineDirectionZ LineDirectionZ LineDirectionZ lineDirectionZ line_direction_z
),
the line moment
(LineMomentX LineMomentX LineMomentX lineMomentX line_moment_x
, LineMomentY LineMomentY LineMomentY lineMomentY line_moment_y
, LineMomentZ LineMomentZ LineMomentZ lineMomentZ line_moment_z
),
the first point
(Point1X Point1X Point1X point1X point_1x
, Point1Y Point1Y Point1Y point1Y point_1y
, Point1Z Point1Z Point1Z point1Z point_1z
) on the line, and
the second point
(Point2X Point2X Point2X point2X point_2x
, Point2Y Point2Y Point2Y point2Y point_2y
, Point2Z Point2Z Point2Z point2Z point_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
LineDirectionX LineDirectionX LineDirectionX lineDirectionX line_direction_x
(input_control) point3d.x(-array) →
HTuple MaybeSequence[float] HTuple Htuple (real) (double ) (double ) (double )
X component of the direction vector of the line.
LineDirectionY LineDirectionY LineDirectionY lineDirectionY line_direction_y
(input_control) point3d.y(-array) →
HTuple MaybeSequence[float] HTuple Htuple (real) (double ) (double ) (double )
Y component of the direction vector of the line.
LineDirectionZ LineDirectionZ LineDirectionZ lineDirectionZ line_direction_z
(input_control) point3d.z(-array) →
HTuple MaybeSequence[float] HTuple Htuple (real) (double ) (double ) (double )
Z component of the direction vector of the line.
LineMomentX LineMomentX LineMomentX lineMomentX line_moment_x
(input_control) point3d.x(-array) →
HTuple MaybeSequence[float] HTuple Htuple (real) (double ) (double ) (double )
X component of the moment vector of the line.
LineMomentY LineMomentY LineMomentY lineMomentY line_moment_y
(input_control) point3d.y(-array) →
HTuple MaybeSequence[float] HTuple Htuple (real) (double ) (double ) (double )
Y component of the moment vector of the line.
LineMomentZ LineMomentZ LineMomentZ lineMomentZ line_moment_z
(input_control) point3d.z(-array) →
HTuple MaybeSequence[float] HTuple Htuple (real) (double ) (double ) (double )
Z component of the moment vector of the line.
Point1X Point1X Point1X point1X point_1x
(output_control) point3d.x(-array) →
HTuple Sequence[float] HTuple Htuple (real) (double ) (double ) (double )
X coordinate of the first point on the line.
Point1Y Point1Y Point1Y point1Y point_1y
(output_control) point3d.y(-array) →
HTuple Sequence[float] HTuple Htuple (real) (double ) (double ) (double )
Y coordinate of the first point on the line.
Point1Z Point1Z Point1Z point1Z point_1z
(output_control) point3d.z(-array) →
HTuple Sequence[float] HTuple Htuple (real) (double ) (double ) (double )
Z coordinate of the first point on the line.
Point2X Point2X Point2X point2X point_2x
(output_control) point3d.x(-array) →
HTuple Sequence[float] HTuple Htuple (real) (double ) (double ) (double )
X coordinate of the second point on the line.
Point2Y Point2Y Point2Y point2Y point_2y
(output_control) point3d.y(-array) →
HTuple Sequence[float] HTuple Htuple (real) (double ) (double ) (double )
Y coordinate of the second point on the line.
Point2Z Point2Z Point2Z point2Z point_2z
(output_control) point3d.z(-array) →
HTuple Sequence[float] HTuple Htuple (real) (double ) (double ) (double )
Z coordinate of the second point on the line.
Possible Successors
distance_point_line distance_point_line DistancePointLine DistancePointLine distance_point_line
Alternatives
pluecker_line_to_point_direction pluecker_line_to_point_direction PlueckerLineToPointDirection PlueckerLineToPointDirection pluecker_line_to_point_direction
See also
points_to_pluecker_line points_to_pluecker_line PointsToPlueckerLine PointsToPlueckerLine points_to_pluecker_line
Module
Foundation