QCAD
Open Source 2D CAD
Loading...
Searching...
No Matches
ON_Extrusion Class Reference

#include <opennurbs_beam.h>

Inheritance diagram for ON_Extrusion:
ON_Surface ON_Geometry ON_Object

Public Member Functions

bool AddInnerProfile (ON_Curve *inner_profile)
 
ON_BrepBrepForm (ON_Brep *brep, bool bSplitKinkyFaces) const
 
ON_BrepBrepForm (ON_Brep *brep=NULL) const
 
ON_MeshCreateMesh (const ON_MeshParameters &mp, ON_Mesh *mesh=NULL) const
 
ON__UINT32 DataCRC (ON__UINT32 current_remainder) const
 
int Degree (int dir) const
 
void Destroy ()
 
int Dimension () const
 
ON_Interval Domain (int dir) const
 
void Dump (ON_TextLog &) const
 
ON_BOOL32 Evaluate (double u, double v, int num_der, int array_stride, double *der_array, int quadrant=0, int *hint=0) const
 
bool Extend (int dir, const ON_Interval &domain)
 
ON_BOOL32 GetBBox (double *boxmin, double *boxmax, int bGrowBox=false) const
 
bool GetClosestPoint (const ON_3dPoint &P, double *s, double *t, double maximum_distance=0.0, const ON_Interval *sdomain=0, const ON_Interval *tdomain=0) const
 
ON_BOOL32 GetLocalClosestPoint (const ON_3dPoint &, double, double, double *, double *, const ON_Interval *=NULL, const ON_Interval *=NULL) const
 
void GetMiterPlaneNormal (int end, ON_3dVector &N) const
 
bool GetNextDiscontinuity (int dir, ON::continuity c, double t0, double t1, double *t, int *hint=NULL, int *dtype=NULL, double cos_angle_tolerance=0.99984769515639123915701155881391, double curvature_tolerance=ON_SQRT_EPSILON) const
 
int GetNurbForm (ON_NurbsSurface &nurbs_surface, double tolerance=0.0) const
 
bool GetNurbFormParameterFromSurfaceParameter (double surface_s, double surface_t, double *nurbs_s, double *nurbs_t) const
 
ON_BOOL32 GetParameterTolerance (int dir, double t, double *tminus, double *tplus) const
 
bool GetPathPlane (double s, ON_Plane &plane) const
 
int GetProfileCurves (ON_SimpleArray< const ON_Curve * > &profile_curves) const
 
bool GetProfilePlane (double s, ON_Plane &plane) const
 
bool GetProfileTransformation (double s, ON_Xform &xform) const
 
ON_BOOL32 GetSpanVector (int dir, double *span_vector) const
 
ON_BOOL32 GetSpanVectorIndex (int dir, double t, int side, int *span_vector_index, ON_Interval *span_interval) const
 
bool GetSurfaceParameterFromNurbFormParameter (double nurbs_s, double nurbs_t, double *surface_s, double *surface_t) const
 
ON_BOOL32 GetSurfaceSize (double *width, double *height) const
 
bool GetTightBoundingBox (ON_BoundingBox &tight_bbox, int bGrowBox=false, const ON_Xform *xform=0) const
 
int HasNurbForm () const
 
int IsCapped () const
 
ON_BOOL32 IsClosed (int) const
 
bool IsContinuous (ON::continuity c, double s, double t, int *hint=NULL, double point_tolerance=ON_ZERO_TOLERANCE, double d1_tolerance=ON_ZERO_TOLERANCE, double d2_tolerance=ON_ZERO_TOLERANCE, double cos_angle_tolerance=0.99984769515639123915701155881391, double curvature_tolerance=ON_SQRT_EPSILON) const
 
ISO IsIsoparametric (const ON_BoundingBox &bbox) const
 
ISO IsIsoparametric (const ON_Curve &curve, const ON_Interval *curve_domain=NULL) const
 
int IsMitered () const
 
ON_CurveIsoCurve (int dir, double c) const
 
ON_BOOL32 IsPeriodic (int) const
 
ON_BOOL32 IsPlanar (ON_Plane *plane=NULL, double tolerance=ON_ZERO_TOLERANCE) const
 
bool IsSolid () const
 
ON_BOOL32 IsValid (ON_TextLog *text_log=NULL) const
 
ON::object_type ObjectType () const
 
 ON_Extrusion ()
 
 ON_Extrusion (const ON_Extrusion &src)
 
ON_Extrusionoperator= (const ON_Extrusion &)
 
ON_3dPoint PathEnd () const
 
int PathParameter () const
 
ON_3dPoint PathStart () const
 
ON_3dVector PathTangent () const
 
const ON_PolyCurvePolyProfile () const
 
const ON_CurveProfile (int profile_index) const
 
ON_CurveProfile3d (int profile_index, double s) const
 
ON_CurveProfile3d (ON_COMPONENT_INDEX ci) const
 
int ProfileCount () const
 
int ProfileParameter () const
 
ON_BOOL32 Read (ON_BinaryArchive &binary_archive)
 
ON_BOOL32 Reverse (int dir)
 
ON_BOOL32 SetDomain (int dir, double t0, double t1)
 
bool SetMiterPlaneNormal (ON_3dVector N, int end)
 
bool SetOuterProfile (ON_Curve *outer_profile, bool bCap)
 
bool SetPath (ON_3dPoint A, ON_3dPoint B)
 
bool SetPathAndUp (ON_3dPoint A, ON_3dPoint B, ON_3dVector up)
 
unsigned int SizeOf () const
 
int SpanCount (int dir) const
 
ON_BOOL32 Split (int dir, double c, ON_Surface *&west_or_south_side, ON_Surface *&east_or_north_side) const
 
ON_BOOL32 Transform (const ON_Xform &xform)
 
ON_BOOL32 Transpose ()
 
ON_BOOL32 Trim (int dir, const ON_Interval &domain)
 
ON_BOOL32 Write (ON_BinaryArchive &binary_archive) const
 
 ~ON_Extrusion ()
 
- Public Member Functions inherited from ON_Surface
bool AreaMassProperties (ON_MassProperties &mp, bool bArea=true, bool bFirstMoments=true, bool bSecondMoments=true, bool bProductMoments=true, double rel_tol=1.0e-6, double abs_tol=1.0e-6) const
 
ON_BrepBrepForm (ON_Brep *brep=NULL) const
 
virtual ON_SurfaceTree * CreateSurfaceTree () const
 
void DestroyRuntimeCache (bool bDelete=true)
 
void DestroySurfaceTree ()
 
virtual ON_SurfaceDuplicateSurface () const
 
ON_BOOL32 Ev1Der (double u, double v, ON_3dPoint &point, ON_3dVector &du, ON_3dVector &dv, int quadrant=0, int *hint=0) const
 
ON_BOOL32 Ev2Der (double u, double v, ON_3dPoint &point, ON_3dVector &du, ON_3dVector &dv, ON_3dVector &duu, ON_3dVector &duv, ON_3dVector &dvv, int quadrant=0, int *hint=0) const
 
bool EvaluatePoint (const class ON_ObjRef &objref, ON_3dPoint &P) const
 
ON_BOOL32 EvNormal (double u, double v, ON_3dPoint &point, ON_3dVector &du, ON_3dVector &dv, ON_3dVector &normal, int=0, int *=0) const
 
ON_BOOL32 EvNormal (double u, double v, ON_3dPoint &point, ON_3dVector &normal, int quadrant=0, int *hint=0) const
 
ON_BOOL32 EvNormal (double u, double v, ON_3dVector &normal, int quadrant=0, int *hint=0) const
 
ON_BOOL32 EvPoint (double u, double v, ON_3dPoint &point, int quadrant=0, int *hint=0) const
 
ON_BOOL32 FrameAt (double u, double v, ON_Plane &frame) const
 
ON_BOOL32 GetDomain (int dir, double *t0, double *t1) const
 
ON_BOOL32 HasBrepForm () const
 
int IntersectSurface (const ON_Surface *surfaceB, ON_ClassArray< ON_SSX_EVENT > &x, double intersection_tolerance=0.0, double overlap_tolerance=0.0, double fitting_tolerance=0.0, const ON_Interval *surfaceA_udomain=0, const ON_Interval *surfaceA_vdomain=0, const ON_Interval *surfaceB_udomain=0, const ON_Interval *surfaceB_vdomain=0) const
 
int IsAtSeam (double s, double t) const
 
bool IsAtSingularity (double s, double t, bool bExact=true) const
 
bool IsCone (ON_Cone *cone=NULL, double tolerance=ON_ZERO_TOLERANCE) const
 
bool IsCylinder (ON_Cylinder *cylinder=NULL, double tolerance=ON_ZERO_TOLERANCE) const
 
virtual ON_BOOL32 IsSingular (int) const
 
bool IsSolid () const
 
bool IsSphere (ON_Sphere *sphere=NULL, double tolerance=ON_ZERO_TOLERANCE) const
 
bool IsTorus (ON_Torus *torus=NULL, double tolerance=ON_ZERO_TOLERANCE) const
 
ON_3dVector NormalAt (double, double) const
 
ON_NurbsSurfaceNurbsSurface (ON_NurbsSurface *pNurbsSurface=NULL, double tolerance=0.0, const ON_Interval *s_subdomain=NULL, const ON_Interval *t_subdomain=NULL) const
 
ON::object_type ObjectType () const
 
virtual ON_SurfaceOffset (double offset_distance, double tolerance, double *max_deviation=NULL) const
 
 ON_Surface ()
 
 ON_Surface (const ON_Surface &)
 
ON_Surfaceoperator= (const ON_Surface &)
 
ON_3dPoint PointAt (double, double) const
 
virtual ON_CurvePullback (const ON_Curve &curve_3d, double tolerance, const ON_Interval *curve_3d_subdomain=NULL, ON_3dPoint start_uv=ON_UNSET_POINT, ON_3dPoint end_uv=ON_UNSET_POINT) const
 
virtual ON_CurvePushup (const ON_Curve &curve_2d, double tolerance, const ON_Interval *curve_2d_subdomain=NULL) const
 
bool SetDomain (int dir, ON_Interval domain)
 
unsigned int SizeOf () const
 
const ON_SurfaceTree * SurfaceTree () const
 
bool VolumeMassProperties (ON_MassProperties &mp, bool bVolume=true, bool bFirstMoments=true, bool bSecondMoments=true, bool bProductMoments=true, ON_3dPoint base_point=ON_UNSET_POINT, double rel_tol=1.0e-6, double abs_tol=1.0e-6) const
 
virtual ~ON_Surface ()
 
- Public Member Functions inherited from ON_Geometry
ON_BoundingBox BoundingBox () const
 
virtual void ClearBoundingBox ()
 
virtual ON_COMPONENT_INDEX ComponentIndex () const
 
ON_BOOL32 GetBoundingBox (ON_3dPoint &bbox_min, ON_3dPoint &bbox_max, int bGrowBox=false) const
 
ON_BOOL32 GetBoundingBox (ON_BoundingBox &bbox, int bGrowBox=false) const
 
virtual bool IsDeformable () const
 
virtual bool IsMorphable () const
 
virtual bool MakeDeformable ()
 
virtual bool Morph (const ON_SpaceMorph &morph)
 
 ON_Geometry ()
 
 ON_Geometry (const ON_Geometry &)
 
ON_Geometryoperator= (const ON_Geometry &)
 
ON_BOOL32 Rotate (double rotation_angle, const ON_3dVector &rotation_axis, const ON_3dPoint &rotation_center)
 
ON_BOOL32 Rotate (double sin_angle, double cos_angle, const ON_3dVector &rotation_axis, const ON_3dPoint &rotation_center)
 
ON_BOOL32 Scale (double scale_factor)
 
virtual ON_BOOL32 SwapCoordinates (int i, int j)
 
ON_BOOL32 Translate (const ON_3dVector &translation_vector)
 
virtual ~ON_Geometry ()
 
- Public Member Functions inherited from ON_Object
ON_BOOL32 AttachUserData (ON_UserData *pUserData)
 
bool CopyFrom (const ON_Object *src)
 
void CopyUserData (const ON_Object &source_object)
 
ON_BOOL32 DetachUserData (ON_UserData *pUserData)
 
ON_UserDataFirstUserData () const
 
ON_UserDataGetUserData (const ON_UUID &userdata_uuid) const
 
bool GetUserString (const wchar_t *key, ON_wString &string_value) const
 
int GetUserStringKeys (ON_ClassArray< ON_wString > &user_string_keys) const
 
int GetUserStrings (ON_ClassArray< ON_UserString > &user_strings) const
 
ON_BOOL32 IsKindOf (const ON_ClassId *pClassId) const
 
virtual void MemoryRelocate ()
 
virtual ON_UUID ModelObjectId () const
 
void MoveUserData (ON_Object &source_object)
 
 ON_Object ()
 
 ON_Object (const ON_Object &)
 
ON_Objectoperator= (const ON_Object &)
 
void PurgeUserData ()
 
bool SetUserString (const wchar_t *key, const wchar_t *string_value)
 
void TransformUserData (const ON_Xform &xform)
 
virtual ~ON_Object ()
 

Static Public Member Functions

static bool CleanupPolyCurveProfile (ON_PolyCurve &polycurve)
 
static ON_ExtrusionCylinder (const ON_Cylinder &cylinder, bool bCapBottom, bool bCapTop, ON_Extrusion *extrusion=0)
 
static bool IsValidPolyCurveProfile (const ON_PolyCurve &polycurve, ON_TextLog *text_log=0)
 
static ON_ExtrusionPipe (const ON_Cylinder &cylinder, double other_radius, bool bCapBottom, bool bCapTop, ON_Extrusion *extrusion=0)
 
- Static Public Member Functions inherited from ON_Surface
static class ON_NurbsSurfaceCreateCubicLoft (int curve_count, const ON_Curve *const *curve_list, double k, int is_closed=0, ON::cubic_loft_end_condition start_shape=ON::cubic_loft_ec_quadratic, ON::cubic_loft_end_condition end_shape=ON::cubic_loft_ec_quadratic, class ON_NurbsSurface *nurbs_surface=0)
 

Public Attributes

bool m_bCap [2]
 
bool m_bHaveN [2]
 
bool m_bTransposed
 
ON_3dVector m_N [2]
 
ON_Line m_path
 
ON_Interval m_path_domain
 
ON_Curvem_profile
 
int m_profile_count
 
ON_Interval m_t
 
ON_3dVector m_up
 
- Public Attributes inherited from ON_Object
ON_MEMORY_POOLm_mempool
 

Static Public Attributes

static const double m_Nz_min = 1.0/64.0
 
static const double m_path_length_min = ON_ZERO_TOLERANCE
 

Private Member Functions

 ON_OBJECT_DECLARE (ON_Extrusion)
 

Additional Inherited Members

- Public Types inherited from ON_Surface
enum  ISO {
  not_iso = 0 , x_iso = 1 , y_iso = 2 , W_iso = 3 ,
  S_iso = 4 , E_iso = 5 , N_iso = 6 , iso_count = 7
}
 
- Protected Member Functions inherited from ON_Surface
ON_CurvePullbackCurveProxy (const ON_CurveProxy &curveproxy_3d, double tolerance, const ON_Interval *curve_3d_subdomain, ON_3dPoint start_uv, ON_3dPoint end_uv) const
 
ON_CurvePullbackPolyCurve (const ON_PolyCurve &polycurve_3d, double tolerance, const ON_Interval *curve_3d_subdomain, ON_3dPoint start_uv, ON_3dPoint end_uv) const
 
ON_CurvePushupCurveProxy (const ON_CurveProxy &curveproxy_2d, double tolerance, const ON_Interval *curve_2d_subdomain) const
 
ON_CurvePushupPolyCurve (const ON_PolyCurve &polycurve_2d, double tolerance, const ON_Interval *curve_2d_subdomain) const
 
- Protected Attributes inherited from ON_Surface
ON_SurfaceTree * m_stree
 

Constructor & Destructor Documentation

◆ ON_Extrusion() [1/2]

ON_Extrusion::ON_Extrusion ( )

◆ ON_Extrusion() [2/2]

ON_Extrusion::ON_Extrusion ( const ON_Extrusion & src)

◆ ~ON_Extrusion()

ON_Extrusion::~ON_Extrusion ( )

Member Function Documentation

◆ AddInnerProfile()

bool ON_Extrusion::AddInnerProfile ( ON_Curve * inner_profile)

◆ BrepForm() [1/2]

ON_Brep * ON_Extrusion::BrepForm ( ON_Brep * brep,
bool bSplitKinkyFaces ) const

◆ BrepForm() [2/2]

ON_Brep * ON_Extrusion::BrepForm ( ON_Brep * brep = NULL) const
virtual

Reimplemented from ON_Geometry.

◆ CleanupPolyCurveProfile()

bool ON_Extrusion::CleanupPolyCurveProfile ( ON_PolyCurve & polycurve)
static

◆ CreateMesh()

ON_Mesh * ON_Extrusion::CreateMesh ( const ON_MeshParameters & mp,
ON_Mesh * mesh = NULL ) const
virtual

Reimplemented from ON_Surface.

◆ Cylinder()

ON_Extrusion * ON_Extrusion::Cylinder ( const ON_Cylinder & cylinder,
bool bCapBottom,
bool bCapTop,
ON_Extrusion * extrusion = 0 )
static

◆ DataCRC()

ON__UINT32 ON_Extrusion::DataCRC ( ON__UINT32 current_remainder) const
virtual

Reimplemented from ON_Object.

◆ Degree()

int ON_Extrusion::Degree ( int dir) const
virtual

Implements ON_Surface.

◆ Destroy()

void ON_Extrusion::Destroy ( )

◆ Dimension()

int ON_Extrusion::Dimension ( ) const
virtual

Implements ON_Geometry.

◆ Domain()

ON_Interval ON_Extrusion::Domain ( int dir) const
virtual

Implements ON_Surface.

◆ Dump()

void ON_Extrusion::Dump ( ON_TextLog & text_log) const
virtual

Reimplemented from ON_Object.

◆ Evaluate()

ON_BOOL32 ON_Extrusion::Evaluate ( double u,
double v,
int num_der,
int array_stride,
double * der_array,
int quadrant = 0,
int * hint = 0 ) const
virtual

Implements ON_Surface.

◆ Extend()

bool ON_Extrusion::Extend ( int dir,
const ON_Interval & domain )
virtual

Reimplemented from ON_Surface.

◆ GetBBox()

ON_BOOL32 ON_Extrusion::GetBBox ( double * boxmin,
double * boxmax,
int bGrowBox = false ) const
virtual

Implements ON_Geometry.

◆ GetClosestPoint()

bool ON_Extrusion::GetClosestPoint ( const ON_3dPoint & P,
double * s,
double * t,
double maximum_distance = 0.0,
const ON_Interval * sdomain = 0,
const ON_Interval * tdomain = 0 ) const
virtual

Reimplemented from ON_Surface.

◆ GetLocalClosestPoint()

ON_BOOL32 ON_Extrusion::GetLocalClosestPoint ( const ON_3dPoint & test_point,
double s0,
double t0,
double * s,
double * t,
const ON_Interval * sdomain = NULL,
const ON_Interval * tdomain = NULL ) const
virtual

Reimplemented from ON_Surface.

◆ GetMiterPlaneNormal()

void ON_Extrusion::GetMiterPlaneNormal ( int end,
ON_3dVector & N ) const

◆ GetNextDiscontinuity()

bool ON_Extrusion::GetNextDiscontinuity ( int dir,
ON::continuity c,
double t0,
double t1,
double * t,
int * hint = NULL,
int * dtype = NULL,
double cos_angle_tolerance = 0.99984769515639123915701155881391,
double curvature_tolerance = ON_SQRT_EPSILON ) const
virtual

Reimplemented from ON_Surface.

◆ GetNurbForm()

int ON_Extrusion::GetNurbForm ( ON_NurbsSurface & nurbs_surface,
double tolerance = 0.0 ) const
virtual

Reimplemented from ON_Surface.

◆ GetNurbFormParameterFromSurfaceParameter()

bool ON_Extrusion::GetNurbFormParameterFromSurfaceParameter ( double surface_s,
double surface_t,
double * nurbs_s,
double * nurbs_t ) const
virtual

Reimplemented from ON_Surface.

◆ GetParameterTolerance()

ON_BOOL32 ON_Extrusion::GetParameterTolerance ( int dir,
double t,
double * tminus,
double * tplus ) const
virtual

Reimplemented from ON_Surface.

◆ GetPathPlane()

bool ON_Extrusion::GetPathPlane ( double s,
ON_Plane & plane ) const

◆ GetProfileCurves()

int ON_Extrusion::GetProfileCurves ( ON_SimpleArray< const ON_Curve * > & profile_curves) const

◆ GetProfilePlane()

bool ON_Extrusion::GetProfilePlane ( double s,
ON_Plane & plane ) const

◆ GetProfileTransformation()

bool ON_Extrusion::GetProfileTransformation ( double s,
ON_Xform & xform ) const

◆ GetSpanVector()

ON_BOOL32 ON_Extrusion::GetSpanVector ( int dir,
double * span_vector ) const
virtual

Implements ON_Surface.

◆ GetSpanVectorIndex()

ON_BOOL32 ON_Extrusion::GetSpanVectorIndex ( int dir,
double t,
int side,
int * span_vector_index,
ON_Interval * span_interval ) const
virtual

Reimplemented from ON_Surface.

◆ GetSurfaceParameterFromNurbFormParameter()

bool ON_Extrusion::GetSurfaceParameterFromNurbFormParameter ( double nurbs_s,
double nurbs_t,
double * surface_s,
double * surface_t ) const
virtual

Reimplemented from ON_Surface.

◆ GetSurfaceSize()

ON_BOOL32 ON_Extrusion::GetSurfaceSize ( double * width,
double * height ) const
virtual

Reimplemented from ON_Surface.

◆ GetTightBoundingBox()

bool ON_Extrusion::GetTightBoundingBox ( ON_BoundingBox & tight_bbox,
int bGrowBox = false,
const ON_Xform * xform = 0 ) const
virtual

Reimplemented from ON_Geometry.

◆ HasNurbForm()

int ON_Extrusion::HasNurbForm ( ) const
virtual

Reimplemented from ON_Surface.

◆ IsCapped()

int ON_Extrusion::IsCapped ( ) const

◆ IsClosed()

ON_BOOL32 ON_Extrusion::IsClosed ( int dir) const
virtual

Reimplemented from ON_Surface.

◆ IsContinuous()

bool ON_Extrusion::IsContinuous ( ON::continuity c,
double s,
double t,
int * hint = NULL,
double point_tolerance = ON_ZERO_TOLERANCE,
double d1_tolerance = ON_ZERO_TOLERANCE,
double d2_tolerance = ON_ZERO_TOLERANCE,
double cos_angle_tolerance = 0.99984769515639123915701155881391,
double curvature_tolerance = ON_SQRT_EPSILON ) const
virtual

Reimplemented from ON_Surface.

◆ IsIsoparametric() [1/2]

ON_Surface::ISO ON_Extrusion::IsIsoparametric ( const ON_BoundingBox & bbox) const
virtual

Reimplemented from ON_Surface.

◆ IsIsoparametric() [2/2]

ON_Surface::ISO ON_Extrusion::IsIsoparametric ( const ON_Curve & curve,
const ON_Interval * curve_domain = NULL ) const
virtual

Reimplemented from ON_Surface.

◆ IsMitered()

int ON_Extrusion::IsMitered ( ) const

◆ IsoCurve()

ON_Curve * ON_Extrusion::IsoCurve ( int dir,
double c ) const
virtual

Reimplemented from ON_Surface.

◆ IsPeriodic()

ON_BOOL32 ON_Extrusion::IsPeriodic ( int dir) const
virtual

Reimplemented from ON_Surface.

◆ IsPlanar()

ON_BOOL32 ON_Extrusion::IsPlanar ( ON_Plane * plane = NULL,
double tolerance = ON_ZERO_TOLERANCE ) const
virtual

Reimplemented from ON_Surface.

◆ IsSolid()

bool ON_Extrusion::IsSolid ( ) const

◆ IsValid()

ON_BOOL32 ON_Extrusion::IsValid ( ON_TextLog * text_log = NULL) const
virtual

Implements ON_Object.

◆ IsValidPolyCurveProfile()

bool ON_Extrusion::IsValidPolyCurveProfile ( const ON_PolyCurve & polycurve,
ON_TextLog * text_log = 0 )
static

◆ ObjectType()

ON::object_type ON_Extrusion::ObjectType ( ) const
virtual

Reimplemented from ON_Object.

◆ ON_OBJECT_DECLARE()

ON_Extrusion::ON_OBJECT_DECLARE ( ON_Extrusion )
private

◆ operator=()

ON_Extrusion & ON_Extrusion::operator= ( const ON_Extrusion & src)

◆ PathEnd()

ON_3dPoint ON_Extrusion::PathEnd ( ) const

◆ PathParameter()

int ON_Extrusion::PathParameter ( ) const

◆ PathStart()

ON_3dPoint ON_Extrusion::PathStart ( ) const

◆ PathTangent()

ON_3dVector ON_Extrusion::PathTangent ( ) const

◆ Pipe()

ON_Extrusion * ON_Extrusion::Pipe ( const ON_Cylinder & cylinder,
double other_radius,
bool bCapBottom,
bool bCapTop,
ON_Extrusion * extrusion = 0 )
static

◆ PolyProfile()

const ON_PolyCurve * ON_Extrusion::PolyProfile ( ) const

◆ Profile()

const ON_Curve * ON_Extrusion::Profile ( int profile_index) const

◆ Profile3d() [1/2]

ON_Curve * ON_Extrusion::Profile3d ( int profile_index,
double s ) const

◆ Profile3d() [2/2]

ON_Curve * ON_Extrusion::Profile3d ( ON_COMPONENT_INDEX ci) const

◆ ProfileCount()

int ON_Extrusion::ProfileCount ( ) const

◆ ProfileParameter()

int ON_Extrusion::ProfileParameter ( ) const

◆ Read()

ON_BOOL32 ON_Extrusion::Read ( ON_BinaryArchive & binary_archive)
virtual

Reimplemented from ON_Object.

◆ Reverse()

ON_BOOL32 ON_Extrusion::Reverse ( int dir)
virtual

Implements ON_Surface.

◆ SetDomain()

ON_BOOL32 ON_Extrusion::SetDomain ( int dir,
double t0,
double t1 )
virtual

Reimplemented from ON_Surface.

◆ SetMiterPlaneNormal()

bool ON_Extrusion::SetMiterPlaneNormal ( ON_3dVector N,
int end )

◆ SetOuterProfile()

bool ON_Extrusion::SetOuterProfile ( ON_Curve * outer_profile,
bool bCap )

◆ SetPath()

bool ON_Extrusion::SetPath ( ON_3dPoint A,
ON_3dPoint B )

◆ SetPathAndUp()

bool ON_Extrusion::SetPathAndUp ( ON_3dPoint A,
ON_3dPoint B,
ON_3dVector up )

◆ SizeOf()

unsigned int ON_Extrusion::SizeOf ( ) const
virtual

Reimplemented from ON_Object.

◆ SpanCount()

int ON_Extrusion::SpanCount ( int dir) const
virtual

Implements ON_Surface.

◆ Split()

ON_BOOL32 ON_Extrusion::Split ( int dir,
double c,
ON_Surface *& west_or_south_side,
ON_Surface *& east_or_north_side ) const
virtual

Reimplemented from ON_Surface.

◆ Transform()

ON_BOOL32 ON_Extrusion::Transform ( const ON_Xform & xform)
virtual

Reimplemented from ON_Geometry.

◆ Transpose()

ON_BOOL32 ON_Extrusion::Transpose ( )
virtual

Implements ON_Surface.

◆ Trim()

ON_BOOL32 ON_Extrusion::Trim ( int dir,
const ON_Interval & domain )
virtual

Reimplemented from ON_Surface.

◆ Write()

ON_BOOL32 ON_Extrusion::Write ( ON_BinaryArchive & binary_archive) const
virtual

Reimplemented from ON_Object.

Member Data Documentation

◆ m_bCap

bool ON_Extrusion::m_bCap[2]

◆ m_bHaveN

bool ON_Extrusion::m_bHaveN[2]

◆ m_bTransposed

bool ON_Extrusion::m_bTransposed

◆ m_N

ON_3dVector ON_Extrusion::m_N[2]

◆ m_Nz_min

const double ON_Extrusion::m_Nz_min = 1.0/64.0
static

◆ m_path

ON_Line ON_Extrusion::m_path

◆ m_path_domain

ON_Interval ON_Extrusion::m_path_domain

◆ m_path_length_min

const double ON_Extrusion::m_path_length_min = ON_ZERO_TOLERANCE
static

◆ m_profile

ON_Curve* ON_Extrusion::m_profile

◆ m_profile_count

int ON_Extrusion::m_profile_count

◆ m_t

ON_Interval ON_Extrusion::m_t

◆ m_up

ON_3dVector ON_Extrusion::m_up

The documentation for this class was generated from the following files: