API Documentation
Loading...
Searching...
No Matches
DimOrdinateData Struct Reference

#include <CADEntities.h>

Inheritance diagram for DimOrdinateData:
[legend]
Collaboration diagram for DimOrdinateData:
[legend]

Public Member Functions

 DimOrdinateData (const Vector< 3, fltp08 > &p1, const Vector< 3, fltp08 > &p2, bool type)
 
 DimOrdinateData (LineSegment< 3, fltp08 > &dimension, bool type)
 
- Public Member Functions inherited from LineSegment< 3, fltp08 >
constexpr LineSegment< t_new_dims, t_new_type, t_new_vertex > as () const
 
constexpr Vertex< t_dims, fltp08center () const
 
constexpr LineSegment< t_dims, t_precision > closestPoints (const LineSegment< t_dims, fltp08, t_other_vertex > &l2, t_precision epsilon=0) const
 
constexpr fltp08 closestPos (const Vertex< t_dims, fltp08 > &p) const
 
constexpr Vertex< t_dims, fltp08closestValue (const Vertex< t_dims, fltp08 > &p) const
 
t_precision distanceSquared (const LineSegment< t_dims, fltp08, Vertex< t_dims, fltp08 > > &right, const t_precision &epsilon=cast< t_precision >(0)) const
 
constexpr LineSegment< t_dims, fltp08extend (const fltp08 &a_extension, const fltp08 &b_extension) const
 
constexpr LineSegment< t_dims, fltp08extend (const fltp08 &extension) const
 
constexpr t_precision getLocationAt (t_precision value, uint01 dim) const
 
constexpr Vector< t_dims, t_precision > intersection (const LineSegment &r, t_precision epsilon=0) const
 
constexpr t_precision intersectionPosition (const LineSegment< t_dims, fltp08 > &segment) const
 
constexpr bool intersects (const LineSegment &segment, t_precision epsilon=cast< t_precision >(0.001)) const
 
constexpr bool isCollinear (const LineSegment< t_dims, fltp08 > &line, t_precision epsilon=0) const
 
constexpr bool isCollinear (const Vertex< t_dims, fltp08 > &vert, t_precision epsilon=0) const
 
constexpr bool isParallel (const LineSegment< t_dims, fltp08, Vertex< t_dims, fltp08 > > &line, t_precision epsilon=0) const
 
constexpr t_precision length () const
 
constexpr fltp08 lengthSquared () const
 
constexpr LineSegment ()
 
constexpr LineSegment (const Vector< 2, Vertex< t_dims, fltp08 > > &line)
 
constexpr LineSegment (const Vertex< t_dims, fltp08 > &p1, const Vertex< t_dims, fltp08 > &p2)
 
constexpr Vertex< t_dims, fltp08midpoint () const
 
constexpr Vertex< t_dims, fltp08pointAt (t_inter_type index) const
 
constexpr Vertex< t_dims, fltp08pointAt (t_precision value, uint01 dim, const Vertex< t_dims, fltp08 > &nan_return=Constant< Vertex< t_dims, fltp08 > >::Invalid) const
 
constexpr Vertex< t_dims, fltp08ray () const
 
constexpr LineSegment< t_dims, fltp08scale (const t_inter_type &a_scale, const t_inter_type &b_scale) const
 
constexpr LineSegment< t_dims, fltp08scale (const t_inter_type &scale) const
 
constexpr Vertex< t_dims, fltp08 > & vertex (uint01 index)
 
constexpr const Vertex< t_dims, fltp08 > & vertex (uint01 index) const
 
- Public Member Functions inherited from Vector< t_dims, t_type >
template<class t_new_type >
constexpr Vector< t_dims, t_new_type > as () const
 
template<uint01 t_new_dim, class t_new_type >
constexpr Vector< t_new_dim, t_new_type > as () const
 
template<uint01 t_new_dim, class t_new_type >
constexpr Vector< t_new_dim, t_new_type > as (t_new_type extra_fill_value) const
 
template<LocationValues t_max_min>
constexpr uint01 dimensionalIndex () const
 
template<LocationValues t_max_min>
constexpr t_type dimensionalValue () const
 
template<class t_magnitude_type = t_type>
constexpr t_magnitude_type magnitude () const
 
constexpr t_type magnitudeSquared () const
 
template<class t_norm_type = t_type>
constexpr Vector< t_dims, t_norm_type > normalized (Vector< t_dims, t_norm_type > value_if_nan=Constant< Vector< t_dims, t_norm_type > >::Invalid) const
 
template<uint01 tdims = t_dims, typename = typename std::enable_if<tdims == 1>::type>
constexpr operator const t_type & () const
 
template<uint01 tdims = t_dims, typename = typename std::enable_if<tdims == 1>::type>
constexpr operator t_type & ()
 
constexpr Vector< t_dims, t_type > operator- () const
 
constexpr Vector< t_dims, t_type > & operator= (const t_type &scaler)
 
constexpr const t_type & operator[] (const uint01 dimension_index) const
 
constexpr t_type & operator[] (uint01 dimension_index)
 
constexpr t_type product () const
 
constexpr t_type sum () const
 
constexpr Vector () noexcept
 
template<uint01 tdims = t_dims>
constexpr Vector (const t_type &prefix, typename std::enable_if< tdims >=2, const Vector< t_dims - 1, t_type > & >::type vector)
 
template<uint01 tdims = t_dims>
constexpr Vector (const t_type &prefix_a, const t_type &prefix_b, typename std::enable_if< tdims >=3, const Vector< tdims - 1, t_type > & >::type vector)
 
constexpr Vector (const t_type &scaler) noexcept
 
template<uint01 tdims = t_dims>
constexpr Vector (const t_type &x, const t_type &y, const t_type &z, const t_type &w, const t_type &v, const t_type &u, const t_type &t, const t_type &s, typename std::enable_if< tdims==9, const t_type & >::type r)
 
template<uint01 tdims = t_dims>
constexpr Vector (const t_type &x, const t_type &y, const t_type &z, const t_type &w, const t_type &v, typename std::enable_if< tdims==6, const t_type & >::type u)
 
template<uint01 tdims = t_dims>
constexpr Vector (const t_type &x, const t_type &y, const t_type &z, const t_type &w, typename std::enable_if< tdims==5, const t_type & >::type v)
 
template<uint01 tdims = t_dims>
constexpr Vector (const t_type &x, const t_type &y, const t_type &z, typename std::enable_if< tdims==4, const t_type & >::type w)
 
template<uint01 tdims = t_dims>
constexpr Vector (const t_type &x, const t_type &y, const typename std::enable_if< tdims==3, const t_type & >::type z)
 
template<uint01 tdims = t_dims>
constexpr Vector (const t_type &x, typename std::enable_if< tdims==2, const t_type & >::type y)
 
constexpr Vector (const t_type(&vector)[t_dims])
 
template<uint01 tdims = t_dims>
constexpr Vector (const Vector< getMax(tdims - 2, 0), t_type > &vector, const t_type &suffix_a, typename std::enable_if< tdims >=3, const t_type & >::type suffix_b)
 
template<class t_vec_type >
constexpr Vector (const Vector< t_dims, t_vec_type > &vector) noexcept
 
template<uint01 tdims = t_dims>
constexpr Vector (const Vector< tdims - 1, t_type > &vector, typename std::enable_if< tdims >=2, const t_type & >::type suffix)
 

Public Attributes

bool xtype
 
- Public Attributes inherited from DimensionData
Angle< fltp08angle
 
uint01 attachment_point_align = 5
 
Vector< 3, fltp08definition_point
 
Angle< fltp08dim_hor_angle
 
double dim_scale
 
String dimension_block_name
 
String dimension_style
 
fltp08 line_spacing_factor
 
int line_spacing_style
 
double linear_factor
 
String text
 
Angle< fltp08text_angle
 
Vector< 3, fltp08text_middle_point
 
int type
 
- Public Attributes inherited from ExtrusionData
fltp08 elevation = 0.0
 
Vector< 3, fltp08extrusion = Vector<3, fltp08>(0.0, 0.0, 1.0)
 
- Public Attributes inherited from EntityData
CADColorInfo color_info
 
uint04 file_line_number = Constant<uint04>::Invalid
 
bool is_off = false
 
String layer
 
String line_type
 
fltp08 line_type_scale = 1.0
 
uint04 material_handle = Constant<uint04>::Invalid
 
bool paper_space = false
 
PaperSpace paper_space_info
 
bool visible = true
 
- Public Attributes inherited from HandleData
uint04 file_line_number = Constant<uint04>::Invalid
 
uint04 handle = Constant<uint04>::Invalid
 
uint04 parent_handle = Constant<uint04>::Invalid
 

Additional Inherited Members

- Static Public Member Functions inherited from LineSegment< 3, fltp08 >
static constexpr LineSegment createBestFitLine (const t_buffer_type &vertices, uint01 dim_0, uint01 dim_1)
 
- Static Public Member Functions inherited from Vector< t_dims, t_type >
static constexpr uint01 NumberOfDimensions ()
 
static constexpr t_type Type ()
 
- Protected Attributes inherited from Vector< t_dims, t_type >
t_type m_values [t_dims]
 

Constructor & Destructor Documentation

◆ DimOrdinateData() [1/2]

DimOrdinateData ( const Vector< 3, fltp08 > & p1,
const Vector< 3, fltp08 > & p2,
bool type )
inline

◆ DimOrdinateData() [2/2]

DimOrdinateData ( LineSegment< 3, fltp08 > & dimension,
bool type )
inline

Member Data Documentation

◆ xtype

bool xtype

The documentation for this struct was generated from the following file: