plcopen 0.22.0
载入中...
搜索中...
未找到
plcopen::core::geom 命名空间参考

命名空间

namespace  detail

类

struct  RigidFrame
struct  RigidTransform
struct  Vec3
struct  LineSegment
struct  ArcSegment
struct  CubicBezierSegment
struct  QuadraticBlendSegment
struct  QuinticBlendSegment
struct  PathSegment
class  ArcLengthTable

枚举

enum class  SegmentKind {
  line , arc , cubic_bezier , quadratic_blend ,
  quintic_blend
}

函数

rt::Result< RigidFrame > make_frame (double x, double y, double z, double rot_z)
Vec3 frame_rotate (const RigidFrame &frame, Vec3 direction)
Vec3 frame_to_base (const RigidFrame &frame, Vec3 local)
RigidTransform make_rpy_transform (double x, double y, double z, double roll, double pitch, double yaw)
Vec3 transform_rotate (const RigidTransform &transform, Vec3 v)
Vec3 transform_point (const RigidTransform &transform, Vec3 p)
RigidTransform compose (const RigidTransform &a, const RigidTransform &b)
void rotation_multiply (const double a[3][3], const double b[3][3], double out[3][3])
void relative_axis_angle (const double a[3][3], const double b[3][3], double axis[3], double &angle)
void rodrigues (const double axis[3], double angle, double out[3][3])
bool extract_rpy (const double rotation[3][3], double &roll, double &pitch, double &yaw)
RigidTransform invert (const RigidTransform &transform)
Vec3 operator+ (Vec3 lhs, Vec3 rhs)
Vec3 operator- (Vec3 lhs, Vec3 rhs)
Vec3 operator* (Vec3 value, double scale)
double dot (Vec3 lhs, Vec3 rhs)
Vec3 cross (Vec3 lhs, Vec3 rhs)
double norm (Vec3 value)
Vec3 normalize (Vec3 value)
double clamp_arclength (double value, double length)
rt::Result< LineSegment > make_line (Vec3 start, Vec3 finish)
Vec3 sample (LineSegment line, double arclength)
Vec3 tangent (LineSegment line)
Vec3 path_derivative (LineSegment line)
Vec3 path_second_derivative (LineSegment)
Vec3 path_third_derivative (LineSegment)
double angle_of (Vec3 point, Vec3 center)
double normalize_sweep (double sweep, double orientation)
rt::Result< ArcSegment > make_arc (Vec3 start, Vec3 via, Vec3 finish)
Vec3 sample (ArcSegment arc, double arclength)
Vec3 tangent (ArcSegment arc, double arclength)
Vec3 path_derivative (ArcSegment arc, double arclength)
Vec3 path_second_derivative (ArcSegment arc, double arclength)
Vec3 path_third_derivative (ArcSegment arc, double arclength)
rt::Result< ArcSegment > make_arc_center_xy (Vec3 start, Vec3 center, Vec3 finish, bool counter_clockwise)
rt::Result< ArcSegment > make_arc_radius_xy (Vec3 start, Vec3 finish, double signed_radius, bool counter_clockwise)
rt::Result< ArcSegment > make_spatial_arc_border (Vec3 start, Vec3 via, Vec3 finish, Vec3 ref_normal, bool counter_clockwise)
rt::Result< ArcSegment > make_spatial_arc_center (Vec3 start, Vec3 center, Vec3 finish, Vec3 plane_normal, bool counter_clockwise)
rt::Result< ArcSegment > make_spatial_arc_radius (Vec3 start, Vec3 finish, double signed_radius, Vec3 plane_normal, bool counter_clockwise)
Vec3 bezier_point (Vec3 p0, Vec3 p1, Vec3 p2, Vec3 p3, double u)
Vec3 bezier_derivative (Vec3 p0, Vec3 p1, Vec3 p2, Vec3 p3, double u)
Vec3 bezier_second_derivative (Vec3 p0, Vec3 p1, Vec3 p2, Vec3 p3, double u)
Vec3 bezier_third_derivative (Vec3 p0, Vec3 p1, Vec3 p2, Vec3 p3)
Vec3 quadratic_point (Vec3 p0, Vec3 p1, Vec3 p2, double u)
Vec3 quadratic_derivative (Vec3 p0, Vec3 p1, Vec3 p2, double u)
Vec3 quadratic_second_derivative (Vec3 p0, Vec3 p1, Vec3 p2)
rt::Result< CubicBezierSegment > make_cubic_bezier (Vec3 p0, Vec3 p1, Vec3 p2, Vec3 p3)
double cubic_parameter_at_length (const CubicBezierSegment &curve, double arclength)
Vec3 sample (const CubicBezierSegment &curve, double arclength)
Vec3 tangent (const CubicBezierSegment &curve, double arclength)
Vec3 path_derivative (const CubicBezierSegment &curve, double arclength)
Vec3 path_second_derivative (const CubicBezierSegment &curve, double arclength)
Vec3 path_third_derivative (const CubicBezierSegment &curve, double arclength)
rt::Result< QuadraticBlendSegment > make_quadratic_blend (Vec3 start, Vec3 control, Vec3 finish, double tolerance)
double quadratic_parameter_at_length (const QuadraticBlendSegment &blend, double arclength)
Vec3 sample (const QuadraticBlendSegment &blend, double arclength)
Vec3 tangent (const QuadraticBlendSegment &blend, double arclength)
Vec3 path_derivative (const QuadraticBlendSegment &blend, double arclength)
Vec3 path_second_derivative (const QuadraticBlendSegment &blend, double arclength)
Vec3 path_third_derivative (const QuadraticBlendSegment &blend, double arclength)
Vec3 quintic_point (const QuinticBlendSegment &blend, double u)
Vec3 quintic_derivative (const QuinticBlendSegment &blend, double u)
Vec3 quintic_second_derivative (const QuinticBlendSegment &blend, double u)
Vec3 quintic_third_derivative (const QuinticBlendSegment &blend, double u)
rt::Result< QuinticBlendSegment > make_quintic_blend (Vec3 start, Vec3 corner, Vec3 finish, double tolerance)
double quintic_parameter_at_length (const QuinticBlendSegment &blend, double arclength)
Vec3 sample (const QuinticBlendSegment &blend, double arclength)
Vec3 tangent (const QuinticBlendSegment &blend, double arclength)
Vec3 path_derivative (const QuinticBlendSegment &blend, double arclength)
Vec3 path_second_derivative (const QuinticBlendSegment &blend, double arclength)
Vec3 path_third_derivative (const QuinticBlendSegment &blend, double arclength)
PathSegment as_path_segment (LineSegment line)
PathSegment as_path_segment (ArcSegment arc)
PathSegment as_path_segment (const CubicBezierSegment &cubic)
PathSegment as_path_segment (const QuadraticBlendSegment &blend)
PathSegment as_path_segment (const QuinticBlendSegment &blend)

枚举类型说明

◆ SegmentKind

枚举值
line 
arc 
cubic_bezier 
quadratic_blend 
quintic_blend 

在文件 geometry.h 第 1356 行定义.

函数说明

◆ angle_of()

double plcopen::core::geom::angle_of ( Vec3 point,
Vec3 center )
inline

在文件 geometry.h 第 173 行定义.

◆ as_path_segment() [1/5]

PathSegment plcopen::core::geom::as_path_segment ( ArcSegment arc)
inline

在文件 geometry.h 第 1484 行定义.

◆ as_path_segment() [2/5]

PathSegment plcopen::core::geom::as_path_segment ( const CubicBezierSegment & cubic)
inline

在文件 geometry.h 第 1492 行定义.

◆ as_path_segment() [3/5]

PathSegment plcopen::core::geom::as_path_segment ( const QuadraticBlendSegment & blend)
inline

在文件 geometry.h 第 1500 行定义.

◆ as_path_segment() [4/5]

PathSegment plcopen::core::geom::as_path_segment ( const QuinticBlendSegment & blend)
inline

在文件 geometry.h 第 1508 行定义.

◆ as_path_segment() [5/5]

PathSegment plcopen::core::geom::as_path_segment ( LineSegment line)
inline

在文件 geometry.h 第 1476 行定义.

◆ bezier_derivative()

Vec3 plcopen::core::geom::bezier_derivative ( Vec3 p0,
Vec3 p1,
Vec3 p2,
Vec3 p3,
double u )
inline

在文件 geometry.h 第 996 行定义.

◆ bezier_point()

Vec3 plcopen::core::geom::bezier_point ( Vec3 p0,
Vec3 p1,
Vec3 p2,
Vec3 p3,
double u )
inline

在文件 geometry.h 第 987 行定义.

◆ bezier_second_derivative()

Vec3 plcopen::core::geom::bezier_second_derivative ( Vec3 p0,
Vec3 p1,
Vec3 p2,
Vec3 p3,
double u )
inline

在文件 geometry.h 第 1004 行定义.

◆ bezier_third_derivative()

Vec3 plcopen::core::geom::bezier_third_derivative ( Vec3 p0,
Vec3 p1,
Vec3 p2,
Vec3 p3 )
inline

在文件 geometry.h 第 1010 行定义.

◆ clamp_arclength()

double plcopen::core::geom::clamp_arclength ( double value,
double length )
inline

在文件 geometry.h 第 61 行定义.

◆ compose()

RigidTransform plcopen::core::geom::compose ( const RigidTransform & a,
const RigidTransform & b )
inline

在文件 frame.h 第 115 行定义.

◆ cross()

Vec3 plcopen::core::geom::cross ( Vec3 lhs,
Vec3 rhs )
inline

在文件 geometry.h 第 40 行定义.

◆ cubic_parameter_at_length()

double plcopen::core::geom::cubic_parameter_at_length ( const CubicBezierSegment & curve,
double arclength )
inline

在文件 geometry.h 第 1054 行定义.

◆ dot()

double plcopen::core::geom::dot ( Vec3 lhs,
Vec3 rhs )
inline

在文件 geometry.h 第 35 行定义.

◆ extract_rpy()

bool plcopen::core::geom::extract_rpy ( const double rotation[3][3],
double & roll,
double & pitch,
double & yaw )
inline

在文件 frame.h 第 221 行定义.

◆ frame_rotate()

Vec3 plcopen::core::geom::frame_rotate ( const RigidFrame & frame,
Vec3 direction )
inline

在文件 frame.h 第 45 行定义.

◆ frame_to_base()

Vec3 plcopen::core::geom::frame_to_base ( const RigidFrame & frame,
Vec3 local )
inline

在文件 frame.h 第 53 行定义.

◆ invert()

RigidTransform plcopen::core::geom::invert ( const RigidTransform & transform)
inline

在文件 frame.h 第 238 行定义.

◆ make_arc()

rt::Result< ArcSegment > plcopen::core::geom::make_arc ( Vec3 start,
Vec3 via,
Vec3 finish )
inline

在文件 geometry.h 第 193 行定义.

◆ make_arc_center_xy()

rt::Result< ArcSegment > plcopen::core::geom::make_arc_center_xy ( Vec3 start,
Vec3 center,
Vec3 finish,
bool counter_clockwise )
inline

在文件 geometry.h 第 359 行定义.

◆ make_arc_radius_xy()

rt::Result< ArcSegment > plcopen::core::geom::make_arc_radius_xy ( Vec3 start,
Vec3 finish,
double signed_radius,
bool counter_clockwise )
inline

在文件 geometry.h 第 421 行定义.

◆ make_cubic_bezier()

rt::Result< CubicBezierSegment > plcopen::core::geom::make_cubic_bezier ( Vec3 p0,
Vec3 p1,
Vec3 p2,
Vec3 p3 )
inline

在文件 geometry.h 第 1031 行定义.

◆ make_frame()

rt::Result< RigidFrame > plcopen::core::geom::make_frame ( double x,
double y,
double z,
double rot_z )
inline

在文件 frame.h 第 30 行定义.

◆ make_line()

rt::Result< LineSegment > plcopen::core::geom::make_line ( Vec3 start,
Vec3 finish )
inline

在文件 geometry.h 第 79 行定义.

◆ make_quadratic_blend()

rt::Result< QuadraticBlendSegment > plcopen::core::geom::make_quadratic_blend ( Vec3 start,
Vec3 control,
Vec3 finish,
double tolerance )
inline

在文件 geometry.h 第 1097 行定义.

◆ make_quintic_blend()

rt::Result< QuinticBlendSegment > plcopen::core::geom::make_quintic_blend ( Vec3 start,
Vec3 corner,
Vec3 finish,
double tolerance )
inline

在文件 geometry.h 第 1227 行定义.

◆ make_rpy_transform()

RigidTransform plcopen::core::geom::make_rpy_transform ( double x,
double y,
double z,
double roll,
double pitch,
double yaw )
inline

在文件 frame.h 第 71 行定义.

◆ make_spatial_arc_border()

rt::Result< ArcSegment > plcopen::core::geom::make_spatial_arc_border ( Vec3 start,
Vec3 via,
Vec3 finish,
Vec3 ref_normal,
bool counter_clockwise )
inline

在文件 geometry.h 第 487 行定义.

◆ make_spatial_arc_center()

rt::Result< ArcSegment > plcopen::core::geom::make_spatial_arc_center ( Vec3 start,
Vec3 center,
Vec3 finish,
Vec3 plane_normal,
bool counter_clockwise )
inline

在文件 geometry.h 第 604 行定义.

◆ make_spatial_arc_radius()

rt::Result< ArcSegment > plcopen::core::geom::make_spatial_arc_radius ( Vec3 start,
Vec3 finish,
double signed_radius,
Vec3 plane_normal,
bool counter_clockwise )
inline

在文件 geometry.h 第 692 行定义.

◆ norm()

double plcopen::core::geom::norm ( Vec3 value)
inline

在文件 geometry.h 第 47 行定义.

◆ normalize()

Vec3 plcopen::core::geom::normalize ( Vec3 value)
inline

在文件 geometry.h 第 52 行定义.

◆ normalize_sweep()

double plcopen::core::geom::normalize_sweep ( double sweep,
double orientation )
inline

在文件 geometry.h 第 178 行定义.

◆ operator*()

Vec3 plcopen::core::geom::operator* ( Vec3 value,
double scale )
inline

在文件 geometry.h 第 30 行定义.

◆ operator+()

Vec3 plcopen::core::geom::operator+ ( Vec3 lhs,
Vec3 rhs )
inline

在文件 geometry.h 第 20 行定义.

◆ operator-()

Vec3 plcopen::core::geom::operator- ( Vec3 lhs,
Vec3 rhs )
inline

在文件 geometry.h 第 25 行定义.

◆ path_derivative() [1/5]

Vec3 plcopen::core::geom::path_derivative ( ArcSegment arc,
double arclength )
inline

在文件 geometry.h 第 311 行定义.

◆ path_derivative() [2/5]

Vec3 plcopen::core::geom::path_derivative ( const CubicBezierSegment & curve,
double arclength )
inline

在文件 geometry.h 第 1073 行定义.

◆ path_derivative() [3/5]

Vec3 plcopen::core::geom::path_derivative ( const QuadraticBlendSegment & blend,
double arclength )
inline

在文件 geometry.h 第 1157 行定义.

◆ path_derivative() [4/5]

Vec3 plcopen::core::geom::path_derivative ( const QuinticBlendSegment & blend,
double arclength )
inline

在文件 geometry.h 第 1316 行定义.

◆ path_derivative() [5/5]

Vec3 plcopen::core::geom::path_derivative ( LineSegment line)
inline

在文件 geometry.h 第 99 行定义.

◆ path_second_derivative() [1/5]

Vec3 plcopen::core::geom::path_second_derivative ( ArcSegment arc,
double arclength )
inline

在文件 geometry.h 第 330 行定义.

◆ path_second_derivative() [2/5]

Vec3 plcopen::core::geom::path_second_derivative ( const CubicBezierSegment & curve,
double arclength )
inline

在文件 geometry.h 第 1080 行定义.

◆ path_second_derivative() [3/5]

Vec3 plcopen::core::geom::path_second_derivative ( const QuadraticBlendSegment & blend,
double arclength )
inline

在文件 geometry.h 第 1164 行定义.

◆ path_second_derivative() [4/5]

Vec3 plcopen::core::geom::path_second_derivative ( const QuinticBlendSegment & blend,
double arclength )
inline

在文件 geometry.h 第 1327 行定义.

◆ path_second_derivative() [5/5]

Vec3 plcopen::core::geom::path_second_derivative ( LineSegment )
inline

在文件 geometry.h 第 104 行定义.

◆ path_third_derivative() [1/5]

Vec3 plcopen::core::geom::path_third_derivative ( ArcSegment arc,
double arclength )
inline

在文件 geometry.h 第 344 行定义.

◆ path_third_derivative() [2/5]

Vec3 plcopen::core::geom::path_third_derivative ( const CubicBezierSegment & curve,
double arclength )
inline

在文件 geometry.h 第 1088 行定义.

◆ path_third_derivative() [3/5]

Vec3 plcopen::core::geom::path_third_derivative ( const QuadraticBlendSegment & blend,
double arclength )
inline

在文件 geometry.h 第 1172 行定义.

◆ path_third_derivative() [4/5]

Vec3 plcopen::core::geom::path_third_derivative ( const QuinticBlendSegment & blend,
double arclength )
inline

在文件 geometry.h 第 1339 行定义.

◆ path_third_derivative() [5/5]

Vec3 plcopen::core::geom::path_third_derivative ( LineSegment )
inline

在文件 geometry.h 第 109 行定义.

◆ quadratic_derivative()

Vec3 plcopen::core::geom::quadratic_derivative ( Vec3 p0,
Vec3 p1,
Vec3 p2,
double u )
inline

在文件 geometry.h 第 1021 行定义.

◆ quadratic_parameter_at_length()

double plcopen::core::geom::quadratic_parameter_at_length ( const QuadraticBlendSegment & blend,
double arclength )
inline

在文件 geometry.h 第 1138 行定义.

◆ quadratic_point()

Vec3 plcopen::core::geom::quadratic_point ( Vec3 p0,
Vec3 p1,
Vec3 p2,
double u )
inline

在文件 geometry.h 第 1015 行定义.

◆ quadratic_second_derivative()

Vec3 plcopen::core::geom::quadratic_second_derivative ( Vec3 p0,
Vec3 p1,
Vec3 p2 )
inline

在文件 geometry.h 第 1026 行定义.

◆ quintic_derivative()

Vec3 plcopen::core::geom::quintic_derivative ( const QuinticBlendSegment & blend,
double u )
inline

在文件 geometry.h 第 1191 行定义.

◆ quintic_parameter_at_length()

double plcopen::core::geom::quintic_parameter_at_length ( const QuinticBlendSegment & blend,
double arclength )
inline

在文件 geometry.h 第 1289 行定义.

◆ quintic_point()

Vec3 plcopen::core::geom::quintic_point ( const QuinticBlendSegment & blend,
double u )
inline

在文件 geometry.h 第 1181 行定义.

◆ quintic_second_derivative()

Vec3 plcopen::core::geom::quintic_second_derivative ( const QuinticBlendSegment & blend,
double u )
inline

在文件 geometry.h 第 1203 行定义.

◆ quintic_third_derivative()

Vec3 plcopen::core::geom::quintic_third_derivative ( const QuinticBlendSegment & blend,
double u )
inline

在文件 geometry.h 第 1214 行定义.

◆ relative_axis_angle()

void plcopen::core::geom::relative_axis_angle ( const double a[3][3],
const double b[3][3],
double axis[3],
double & angle )
inline

在文件 frame.h 第 146 行定义.

◆ rodrigues()

void plcopen::core::geom::rodrigues ( const double axis[3],
double angle,
double out[3][3] )
inline

在文件 frame.h 第 194 行定义.

◆ rotation_multiply()

void plcopen::core::geom::rotation_multiply ( const double a[3][3],
const double b[3][3],
double out[3][3] )
inline

在文件 frame.h 第 135 行定义.

◆ sample() [1/5]

Vec3 plcopen::core::geom::sample ( ArcSegment arc,
double arclength )
inline

在文件 geometry.h 第 248 行定义.

◆ sample() [2/5]

Vec3 plcopen::core::geom::sample ( const CubicBezierSegment & curve,
double arclength )
inline

在文件 geometry.h 第 1061 行定义.

◆ sample() [3/5]

Vec3 plcopen::core::geom::sample ( const QuadraticBlendSegment & blend,
double arclength )
inline

在文件 geometry.h 第 1145 行定义.

◆ sample() [4/5]

Vec3 plcopen::core::geom::sample ( const QuinticBlendSegment & blend,
double arclength )
inline

在文件 geometry.h 第 1306 行定义.

◆ sample() [5/5]

Vec3 plcopen::core::geom::sample ( LineSegment line,
double arclength )
inline

在文件 geometry.h 第 88 行定义.

◆ tangent() [1/5]

Vec3 plcopen::core::geom::tangent ( ArcSegment arc,
double arclength )
inline

在文件 geometry.h 第 299 行定义.

◆ tangent() [2/5]

Vec3 plcopen::core::geom::tangent ( const CubicBezierSegment & curve,
double arclength )
inline

在文件 geometry.h 第 1067 行定义.

◆ tangent() [3/5]

Vec3 plcopen::core::geom::tangent ( const QuadraticBlendSegment & blend,
double arclength )
inline

在文件 geometry.h 第 1151 行定义.

◆ tangent() [4/5]

Vec3 plcopen::core::geom::tangent ( const QuinticBlendSegment & blend,
double arclength )
inline

在文件 geometry.h 第 1311 行定义.

◆ tangent() [5/5]

Vec3 plcopen::core::geom::tangent ( LineSegment line)
inline

在文件 geometry.h 第 94 行定义.

◆ transform_point()

Vec3 plcopen::core::geom::transform_point ( const RigidTransform & transform,
Vec3 p )
inline

在文件 frame.h 第 109 行定义.

◆ transform_rotate()

Vec3 plcopen::core::geom::transform_rotate ( const RigidTransform & transform,
Vec3 v )
inline

在文件 frame.h 第 99 行定义.