is_planar_wire
List of: Functions
Subjects: Model Topology
Contents: Kernel

Action: Determines if a WIRE is planar.

Prototype: logical is_planar_wire (


COEDGE* this_coedge, // wire


SPAposition& centroid, // returns centroid


SPAunit_vector& normal, // returns normal


logical apply_transf // transformation to



= TRUE // apply


);


logical is_planar_wire (


WIRE* this_wire, // wire


SPAposition& centroid, // returns centroid


SPAunit_vector& normal, // returns normal


logical apply_transf // transformation to



= TRUE // apply


);

Includes: #include "kernel/acis.hxx"

#include "kernel/geomhusk/wire_qry.hxx"

#include "kernel/kerndata/top/wire.hxx"

#include "kernel/kerndata/top/coedge.hxx"

#include "baseutil/logical.h"

#include "baseutil/vector/position.hxx"

#include "baseutil/vector/unitvec.hxx"

Description: This API is overloaded to also accept wire as chain of coedges.

Library: kernel

Filename: kern/kernel/geomhusk/wire_qry.hxx

Effect: Read-only
PDF/KERN/24FNC.PDF
HTM/DATA/KERN/KERN/24FNC/0068.HTM