API Reference > FacetModeler Namespace > Classes > Profile2D Class
Profile2D Class
FacetModeler__Profile2D
Syntax
C++
class Profile2D;

FMProfile2D.h

Describes a 2D profile.

 
Name 
Description 
 
Destructor. 
 
This is the overview for the Profile2D constructor overload. 
 
Name 
Description 
 
An empty static profile. 
 
Name 
Description 
 
Appends the extents of the profile to the specified extents structure.
 
 
Clears the profile. 
 
Checks whether the specified point lies inside the profile or on its border.
 
 
Removes redundant segments with zero length from all contours.
 
 
Explodes all contours.
 
 
Explodes all contours.
 
 
fit 
This is the overview for the fit method overload. 
 
Gets the adjusted profile.
 
 
Gets all profiles. Each of the returned profiles bounds a connected domain and contains one (the first one) big CCW contour and possibly few smaller CW "holes."
 
 
Gets all hole contours reversed.
 
 
Returns 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 it becomes empty if dOffset > radius.
 
 
Gets the single contour describing the profile with bridges between initial contours.
 
 
Gets all non-hole contours as a profile.
 
 
Checks whether this profile contains at least one non-empty contour.
 
 
Checks whether this profile contains only closed contours and coincides with a directional boundary of an open 2D region.
 
 
Merges adjacent segments for all contours.
 
 
Performs a boolean operation on 2D profiles.
 
 
Gets the perimeter of the profile.
 
 
Removes self-intersecting parts oriented clockwise and leaves counter-clockwise parts intact.
 
 
Resizes the profile.
 
 
Reverses all contours. 
 
Updates metadata for all segments in all contours.
 
 
Gets the signed area.
 
 
Splits the profile with a line.
 
 
swap 
Swaps all data of this profile with the specified one.
 
 
Transforms all contours. 
 
Name 
Description 
 
= 
Copy operator.
 
Copyright © 2002-2020. Open Design Alliance. All rights reserved.