Home

pcurves
[Geometry]

Collaboration diagram for pcurves:

Classes

class  pcurve
 Defines a 2D curve defined in the parameter space of a parametric surface. More...

Enumerations

enum  bndy_type
 Specifies on which boundary of a surface, a pcurve lies. More...

Functions

pcurve operator* (pcurve const &cur, SPAtransf const &trans)
 Transforms a pcurve in object space.
pcurve operator+ (SPApar_vec const &pv, pcurve const &pc)
 Adds a SPApar_vec to a pcurve's offset.
void sg_add_pcurve_to_coedge (COEDGE *, logical exact=FALSE, bndy_type=bndy_unknown, logical approx_ok=FALSE, logical reset_pattern=TRUE)
 This routine puts a pcurve on the coedge and also on edge geometry, if necessary.
void sg_add_pcurves_to_entity (ENTITY *ent, logical reset_pattern=TRUE)
 Adds pcurves to any ENTITY.
void sg_rm_pcurves_from_entity (ENTITY *ent, logical analytic_only=FALSE, logical do_tcoedges=FALSE, logical reset_pattern=TRUE)
 This routine removes pcurves from any topological ENTITY.

Enumeration Type Documentation

enum bndy_type

Specifies on which boundary of a surface, a pcurve lies.

Parameters:
bndy_unknown Unknown boundary.
bndy_low_u low u-parameter boundary.
bndy_high_u high u-parameter boundary.
bndy_low_v low v-parameter boundary.
bndy_high_v high v-parameter boundary.

include <add_pcu.hxx>


Function Documentation

pcurve operator* ( pcurve const &  cur,
SPAtransf const &  trans 
)

Transforms a pcurve in object space.



Parameters:
cur pcurve.
trans transformation.

include <pcudef.hxx>

pcurve operator+ ( SPApar_vec const &  pv,
pcurve const &  pc 
)

Adds a SPApar_vec to a pcurve's offset.



Parameters:
pv parameter vec.
pc pcurve.

include <pcudef.hxx>

void sg_add_pcurve_to_coedge ( COEDGE ,
logical  exact = FALSE,
bndy_type  = bndy_unknown,
logical  approx_ok = FALSE,
logical  reset_pattern = TRUE 
)

This routine puts a pcurve on the coedge and also on edge geometry, if necessary.

If the exact flag is TRUE, then this routine assumes that the intcurve is the boundary of the face_surface. This way the pcurve computation will be simpler and faster. Moreover, subsequent operations on this parent entity will be faster.

Parameters:
coedge The COEDGE to which to add a pcurve.
exact Flags whether or not this is an exact fit to a surface boundary.
bndy_unknown If this is an exact boundary, which one.
approx_ok Flags the use of the approximation curve and surface to make the pcurve.
reset_pattern Internal Use Only.

include <add_pcu.hxx>

void sg_add_pcurves_to_entity ( ENTITY ent,
logical  reset_pattern = TRUE 
)

Adds pcurves to any ENTITY.



Role: This function does not assume that the curve is on the boundary of the face surface. It computes the pcurves by inverse mapping the curve onto the surface. The tolerance of the pcurve fit is SPAresfit. If pcurves are already assigned to spline geometry (for example, intcurves) then the pcurves are not necessarily recomputed.

Effect: Changes model

Parameters:
ent ENTITY to which pcurves are to be added.
reset_pattern Internal Use Only

include <add_pcu.hxx>

void sg_rm_pcurves_from_entity ( ENTITY ent,
logical  analytic_only = FALSE,
logical  do_tcoedges = FALSE,
logical  reset_pattern = TRUE 
)

This routine removes pcurves from any topological ENTITY.

This should NEVER be done by the application developer. This option is provided purely for internal usage by tolerant modelling functions.

Parameters:
end The ENTITY from which to remove pcurves.
analytic_only Flags the removal of pcurves from analytical surfaces only.
do_tcoedges Flags the removal of pcurves from tolerant coedges.
reset_pattern Internal Use Only.

include <rm_pcu.hxx>