API Reference > FacetModeler Namespace > Classes > Contour3D Class
Contour3D Class
FacetModeler__Contour3DFacetModeler__Contour3DFacetModeler__Contour3D
Syntax
C++
class Contour3D : public Contour2D, public Wrapper3D;

FMContour3D.h

2D contour in 3D space.

Contains a 2D contour and 3D transformation matrix.

 
Name 
Description 
 
Destructor. 
 
This is the overview for the Contour2D constructor overload. 
Wrapper3D Class
 
Name 
Description 
 
This is the overview for the Wrapper3D constructor overload. 
Contour3D Class
 
Name 
Description 
 
Destructor. 
 
This is the overview for the Contour3D 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. 
 
area 
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.
 
 
isOn 
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.
 
 
swap 
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.
 
Wrapper3D Class
 
Name 
Description 
 
Gets the inverse transformation matrix.
 
 
Gets the plane.
 
 
This is the overview for the setTransform method overload. 
 
swap 
Swaps the transformation of this object and the specified objects.
 
 
to2D 
This is the overview for the to2D method overload. 
 
to3D 
This is the overview for the to3D method overload. 
 
Gets the transformation matrix.
 
 
Applies the given transformation matrix to the Wrapper3D object.
 
Contour3D Class
 
Name 
Description 
 
Gets a 3D point at the specified parameter.
 
 
Gets a 3D point of the contour at the specified index.
 
 
Gets a 3D tangent vector at the specified parameter.
 
 
This is the overview for the transformBy method overload. 
 
Name 
Description 
 
= 
This is the overview for the = operator overload. 
Copyright © 2002-2020. Open Design Alliance. All rights reserved.