![]() |
NDEVR
API Documentation
|
logic for storing an ordinate dimension in a CAD-friendly way for exporting and importing. More...
Additional Inherited Members | |
| 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, fltp08 > | center () const |
| constexpr LineSegment< t_dims, t_precision > | closestPoints (const LineSegment< t_dims, fltp08, t_other_vertex > &l2, t_precision epsilon=0) const |
| Closest vertices. | |
| constexpr fltp08 | closestPos (const Vertex< t_dims, fltp08 > &p) const |
| Returns the closest value where 0 is. | |
| constexpr Vertex< t_dims, fltp08 > | closestValue (const Vertex< t_dims, fltp08 > &p) 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 |
| Intersections. | |
| constexpr t_precision | intersectionPosition (const LineSegment< t_dims, fltp08 > &segment) const |
| constexpr bool | intersects (const LineSegment< 3, fltp08 > &segment, t_precision epsilon=cast< t_precision >(1e-9)) const |
| Query if this object intersects the given segment. | |
| constexpr bool | isCollinear (const LineSegment< t_dims, fltp08 > &line, t_precision epsilon=0) const |
| Query if 'line' is collinear. | |
| constexpr bool | isParallel (const LineSegment< t_dims, fltp08, Vertex< t_dims, fltp08 > > &line, t_precision epsilon=0) const |
| Query if 'line' is parallel. | |
| constexpr t_precision | length () const |
| constexpr fltp08 | lengthSquared () const |
| constexpr Vertex< t_dims, fltp08 > | midpoint () const |
| Gets the midpoint. | |
| constexpr Vertex< t_dims, fltp08 > | pointAt (t_inter_type index) const |
| constexpr Vertex< t_dims, fltp08 > | ray () const |
| constexpr LineSegment< t_dims, fltp08 > | scale (const t_inter_type &scale) const |
| Scales. | |
| constexpr const Vertex< t_dims, fltp08 > & | vertex (uint01 index) const |
| Public Member Functions inherited from Vector< t_dims, t_type > | |
| 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) |
| Creates a vector where the prefix scaler is combined with the suffix 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) |
| Creates a vector where the prefix scaler values are combined with the suffix 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, typename std::enable_if< tdims==4, const t_type & >::type w) |
| Sets values in each dimension to the respective value in the passed in scaler. | |
| 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) |
| Sets values in each dimension to the respective value in the passed in scaler. | |
| template<uint01 tdims = t_dims> | |
| constexpr | Vector (const t_type &x, typename std::enable_if< tdims==2, const t_type & >::type y) |
| Sets values in each dimension to the respective value in the passed in scaler. | |
| constexpr | Vector (const t_type(&vector)[t_dims]) |
| Given a container of statically determined array, transforms it to a vector. | |
| 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) |
| Creates a vector where the prefix vector is combined with the suffix scalers. | |
| 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) |
| Creates a vector where the prefix vector is combined with the suffix scalers. | |
| template<class t_new_type> | |
| constexpr decltype(auto) | as () const |
| Returns the vector as a new time of vector. | |
| template<LocationValues t_max_min> | |
| constexpr uint01 | dimensionalIndex () const |
| Used with template arguments MAX or MIN, Gets the dimensional index for the value that is either max or min. | |
| template<LocationValues t_max_min> | |
| constexpr t_type | dimensionalValue () const |
| Used with template arguments MAX or MIN, Gets the dimensional value for the value that is either max or min. | |
| template<class t_magnitude_type = t_type> | |
| constexpr t_magnitude_type | magnitude () const |
| Vectors are commonly used to model forces such as wind, sea current, gravity, and electromagnetism. | |
| constexpr t_type | magnitudeSquared () const |
| Vectors are commonly used to model forces such as wind, sea current, gravity, and electromagnetism. | |
| 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 |
| Gets the normalized, or unit length representation of this vector. | |
| template<uint01 tdims = t_dims, typename = typename std::enable_if<tdims == 1>::type> | |
| constexpr | operator t_type & () |
| For Single dimensional objects, they may also be considered a scaler, thus allow implicit conversion from a vector to a scaler when the dimension of the vector is 1. | |
| constexpr Vector< t_dims, t_type > | operator- () const |
| Negation operator. | |
| constexpr Vector< t_dims, t_type > & | operator= (const t_type &scaler) |
| Assignment operator. | |
| constexpr t_type & | operator[] (uint01 dimension_index) |
| Accesses the value of a certain dimension. | |
| constexpr t_type | product () const |
| Returns the product, or value of each dimension multiplied together. | |
| constexpr t_type | sum () const |
| Returns the sum, or value of each dimension added together. | |
| Static Public Member Functions inherited from LineSegment< 3, fltp08 > | |
| static constexpr LineSegment | createBestFitLine (const t_buffer_type &vertices, uint01 dim_0, uint01 dim_1) |
| Creates best fit line. | |
| Static Public Member Functions inherited from Vector< t_dims, t_type > | |
| static constexpr uint01 | NumberOfDimensions () |
| Number of dimensions in this vector class. | |
| static constexpr t_type | Type () |
| Returns the type of this class. | |
| Public Attributes inherited from DimensionData | |
| int | type |
| Dimension type. | |
| Public Attributes inherited from ExtrusionData | |
| fltp08 | elevation = 0.0 |
| The elevation above the extrusion plane. | |
| Vector< 3, fltp08 > | extrusion = Vector<3, fltp08>(0.0, 0.0, 1.0) |
| The extrusion direction vector. | |
| Public Attributes inherited from EntityData | |
| CADColorInfo | color_info |
| Color information for this entity. | |
| uint04 | file_line_number = Constant<uint04>::Invalid |
| Line number in the source file. | |
| bool | is_off = false |
| Whether the entity layer is off. | |
| String | layer |
| The layer this entity belongs to. | |
| String | line_type |
| The line type name for this entity. | |
| fltp08 | line_type_scale = 1.0 |
| Scale factor for the line type pattern. | |
| uint04 | material_handle = Constant<uint04>::Invalid |
| Handle to the associated material. | |
| bool | paper_space = false |
| Whether this entity is in paper space. | |
| PaperSpace | paper_space_info |
| Paper space configuration for this entity. | |
| bool | visible = true |
| Whether this entity is visible. | |
| Public Attributes inherited from HandleData | |
| uint04 | file_line_number = Constant<uint04>::Invalid |
| The line number in the source file. | |
| uint04 | handle = Constant<uint04>::Invalid |
| The handle of this object. | |
| uint04 | parent_handle = Constant<uint04>::Invalid |
| The handle of the parent object. | |
| Protected Attributes inherited from Vector< t_dims, t_type > | |
| t_type | m_values [t_dims] |
| The values[t dims]. | |
logic for storing an ordinate dimension in a CAD-friendly way for exporting and importing.
Definition at line 680 of file CADEntities.h.