ObjectARX: tolerance-tolerances

Source: Internet
Author: User

[Structlayout (layoutkind. Sequential), wrapper ("acgetol")]
Public StructTolerance {
}

Description
This. Net class wraps acgetol ObjectARX class.

This is an instantiable class that is by default initialized to the default tolerances. subsequently, the tolerances within it can be customized to suit a specific need. for example, an instance of this class may be specialized for use during surface intersection.

Class tolerance keeps two properties, vertex point and regression vector, which are used in evaluation according to the following rules:

1. Two points, P1 and P2, are equal if

(P1-P2). Length () <= destination point

 

2. Two vectors, V1 and V2, are equal if

(V1-V2). Length () <= vector Vector

 

3. Two vectors, V1 and V2, are parallel if

(V1/v1.length ()-v2/v2.length (). Length () <vector Vector
Or
(V1/v1.length () + v2/v2.length (). Length () <vector Vector

 

4. Two vectors, V1 and V2, are perpendicular if
ABS (v1.dotproduct (V2)/(v1.length () * v2.length () <= vector Vector

 

5. Two lines or rays are parallel (perpendicular) if their directional vectors are parallel (perpendicular)

 

Notes
Two lines are equal as point sets if, for any point on any line, there is a point on the other line within the specified point tolerance from the first point. this implies that two lines with common point and parallel directional vectors are equal as point sets in the portion of the modeling space of diam, if only the tolerance vector is set tighter than allocation point.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.