FMContour2D.h
Represents facet body 2D contour objects.
Contour2D may contain linear and circular segments.
There are three ways to pick (non-vertex) points on the contour: a) Use an integer index to get a segment and then use a parameter on the segment (GeLine or GeArc). b) Use a distance along the curve from the starting point. c) Use a "parameter" value.
The last way is the fastest (and preferred in most cases) because of the "parameter" structure: dParam = startParam() + iIndex * (dOffsetOnSegment/dSegmentLength)
So the point given by the parameter value can be found fast consistently.
|
Name |
Description |
![]() |
Destructor. | |
![]() |
This is the overview for the Contour2D constructor overload. |
|
Name |
Description |
![]() |
An empty static contour. |
|
Name |
Description |
![]() |
Appends the extents of the contour to the specified extents structure. | |
![]() |
Adds a vertex at the specified index. | |
![]() |
Appends a contour to the end of this contour. | |
![]() |
Appends a segment to the end of this contour. | |
![]() |
This is the overview for the appendVertex method overload. | |
![]() |
This is the overview for the appendVertices method overload. | |
![]() |
Gets the non-negative area of the contour. | |
![]() |
Checks whether the specified distances are equal depending on the closed state of the contour. | |
![]() |
Checks whether the specified parameters are equal depending on the closed state of the contour. | |
![]() |
Clones the contents of the specified contour. | |
![]() |
Checks whether a point is inside the contour, at its boundary, or outside. | |
![]() |
Creates Contour2D as full circle with center point and radius specified. | |
![]() |
Creates Contour2D as square with center point and side length specified. | |
![]() |
Adds a vertex to the contour at the specified parameter value. | |
![]() |
Adds a vertex to the contour at the specified distance. | |
![]() |
This is the overview for the createVerticesAt method overload. | |
![]() |
Removes redundant segments with zero length. | |
![]() |
Gets the end contour parameter. | |
![]() |
Explodes all arc segments to lines. Sets the uArcMetadata flag on exploded segments. | |
![]() |
Explodes all arc segments to lines. Sets the uArcMetadata flag on exploded segments. | |
![]() |
Gets a circular arc segment by the specified index. | |
![]() |
Gets a bulge value of a segment with the specified index. | |
![]() |
Gets a distance from the start point to the specified parameter. | |
![]() |
Gets the end point of the contour. | |
![]() |
Gets the geometry extents. | |
![]() |
Gets an internal angle of a vertex with the specified index. | |
![]() |
Gets a linear segment by the specified index. | |
![]() |
Converts a distance to the [0, length] range. | |
![]() |
Converts a parameter to the [start param, end param] range. | |
![]() |
Gets the profile that is shifted in the normal direction from this closed contour. E.g., if dOffset is negative, a counter-clockwise circle is extended. If dOffset is positive and small enough, it is contracted, and becomes empty if dOffset > radius. | |
![]() |
Gets a parameter at the specified distance from the start point. | |
![]() |
Gets a point on the contour at the specified parameter. | |
![]() |
Gets a point by the specified index. | |
![]() |
Gets a point on the contour at the specified distance. | |
![]() |
Gets the profile that is shifted in the normal direction from this closed contour. | |
![]() |
This is the overview for the getSegmentAt method overload. | |
![]() |
Gets the start point of the contour. | |
![]() |
Gets a sub-contour given by two parameters. | |
![]() |
Gets a tangent to the contour at the specified parameter. | |
![]() |
Gets a tangent at the distance along the contour starting from the start point. | |
![]() |
Gets data of a vertex with the specified index. | |
![]() |
Checks whether the contour has arcs. | |
![]() |
Gets the implementation type. | |
![]() |
This is the overview for the intersect method overload. | |
![]() |
Calculates all intersections with the specified line and appends the result to vecPoints. | |
![]() |
Gets the orientation of the contour. | |
![]() |
Checks whether the contour is closed. | |
![]() |
Checks whether the contour is convex. | |
![]() |
Checks whether the contour is empty. | |
![]() |
Checks whether the start and the end of the contour are equal to the specified tolerance. | |
![]() |
Gets the ecfExplodedArc flag value at the specified segment. | |
![]() |
Checks whether the segment with the specified index is hidden. | |
![]() |
Checks whether this contour is inside the specified contour. | |
![]() |
Checks whether the 2D point is located on the contour with the given tolerance. If the point is on the contour, the method calculates the parameter value at this point. | |
![]() |
Checks whether the contour intersects itself. | |
![]() |
Checks whether this contour is closed and coincides with a directional boundary of an open 2D region. | |
![]() |
Gets the length of the contour. | |
![]() |
Makes the contour counter-clockwise or clockwise. | |
![]() |
Merges adjacent segments. | |
![]() |
Gets metadata for the specified segment. | |
![]() |
Gets the nearest parameter and (optional) point on the contour for the given 2D point. | |
![]() |
Gets the number of segments. | |
![]() |
Gets the number of vertices. | |
![]() |
Gets the orientation of the segment with the specified index. | |
![]() |
Returns all built-in flags (orientation, visibility etc.) for the specified segment. | |
![]() |
Removes a vertex and corresponding segment. | |
![]() |
Sets the capacity of the contour data to the specified vertex number. | |
![]() |
Clears the contents of the contour. | |
![]() |
Reverses the contour. | |
![]() |
Gets the type of segment that begins at the specified vertex. | |
![]() |
Sets metadata for all segments. | |
![]() |
Sets a bulge value for a vertex with the specified index. | |
![]() |
Makes the contour closed (or open). | |
![]() |
Sets or clears the ecfExplodedArc flag at the specified segment. | |
![]() |
Sets or clears the ecfHidden flag at the specified segment. | |
![]() |
Sets metadata for the specified segment. | |
![]() |
Sets the orientation of the segment with the specified index. | |
![]() |
Sets a position of a vertex with the specified index. | |
![]() |
Updates all built-in flags (orientation, visibility etc.) for the specified segment. | |
![]() |
Sets the "smooth" flag value. | |
![]() |
Sets a location and a bulge value for a vertex with the specified index. | |
![]() |
Gets the signed area of the contour. | |
![]() |
Gets the start contour parameter. | |
![]() |
Swaps the contents of the contour with another one. | |
![]() |
Gets the "smooth" flag value of the segment with the specified index. | |
![]() |
Transforms the contour. | |
![]() |
Traverses the contour. |
|
Name |
Description |
![]() |
This is the overview for the = operator overload. |
Copyright © 2002-2020. Open Design Alliance. All rights reserved.
|