HE_Mesh2014  2.0.11
Public Member Functions | Protected Attributes | Static Private Attributes | List of all members
wblut.geom.WB_Frame Class Reference

Public Member Functions

 WB_Frame ()
 
 WB_Frame (final WB_Coord[] points, final WB_IndexedSegment[] connections)
 
 WB_Frame (final WB_Coord[] points, final Collection< WB_IndexedSegment > connections)
 
void add (final WB_Coord[] points, final Collection< WB_IndexedSegment > connections)
 
void add (final WB_Frame frame)
 
 WB_Frame (final Collection<?extends WB_Coord > points, final Collection< WB_IndexedSegment > connections)
 
 WB_Frame (final WB_Coord[] points, final int[][] connections)
 
 WB_Frame (final Collection<?extends WB_Coord > points, final int[][] connections)
 
 WB_Frame (final double[][] points, final int[][] connections)
 
 WB_Frame (final float[][] points, final int[][] connections)
 
 WB_Frame (final int[][] points, final int[][] connections)
 
 WB_Frame (final WB_Coord[] points)
 
 WB_Frame (final Collection<?extends WB_Coord > points)
 
 WB_Frame (final double[][] points)
 
 WB_Frame (final float[][] points)
 
 WB_Frame (final int[][] points)
 
int addNode (final double x, final double y, final double z, final double v)
 
int addNode (final WB_Coord pos, final double v)
 
void removeNode (final WB_FrameNode node)
 
int addNodes (final Collection< WB_Coord > pos)
 
boolean addStrut (final int i, final int j)
 
void removeStrut (final WB_FrameStrut strut)
 
ArrayList< WB_FrameStrutgetStruts ()
 
ArrayList< WB_SegmentgetSegments ()
 
ArrayList< WB_IndexedSegmentgetIndexedSegments ()
 
int getNumberOfStruts ()
 
ArrayList< WB_FrameNodegetNodes ()
 
ArrayList< WB_PointgetPoints ()
 
WB_Point[] getPointsAsArray ()
 
int getNumberOfNodes ()
 
WB_FrameNode getNode (final int i)
 
WB_FrameStrut getStrut (final int i)
 
double getDistanceToFrame (final WB_Coord p)
 
int getClosestNodeOnFrame (final WB_Coord p)
 
WB_Coord getClosestPointOnFrame (final WB_Coord p)
 
double getDistanceToFrame (final double x, final double y, final double z)
 
WB_Coord getClosestPointOnFrame (final double x, final double y, final double z)
 
WB_Frame smoothBiNodes ()
 
WB_Frame smoothNodes ()
 
WB_Frame refine (final double threshold)
 
List< WB_PointtoPointCloud (final int n, final double r, final double d, final int l, final double rr, final double dr)
 

Protected Attributes

FastTable< WB_FrameStrutstruts
 
FastTable< WB_FrameNodenodes
 

Static Private Attributes

static WB_GeometryFactory gf = WB_GeometryFactory.instance()
 

Constructor & Destructor Documentation

wblut.geom.WB_Frame.WB_Frame ( )
wblut.geom.WB_Frame.WB_Frame ( final WB_Coord[]  points,
final WB_IndexedSegment[]  connections 
)
Parameters
points
connections
wblut.geom.WB_Frame.WB_Frame ( final WB_Coord[]  points,
final Collection< WB_IndexedSegment connections 
)
Parameters
points
connections
wblut.geom.WB_Frame.WB_Frame ( final Collection<?extends WB_Coord points,
final Collection< WB_IndexedSegment connections 
)
Parameters
points
connections
wblut.geom.WB_Frame.WB_Frame ( final WB_Coord[]  points,
final int  connections[][] 
)
Parameters
points
connections
wblut.geom.WB_Frame.WB_Frame ( final Collection<?extends WB_Coord points,
final int  connections[][] 
)
Parameters
points
connections
wblut.geom.WB_Frame.WB_Frame ( final double  points[][],
final int  connections[][] 
)
Parameters
points
connections
wblut.geom.WB_Frame.WB_Frame ( final float  points[][],
final int  connections[][] 
)
Parameters
points
connections
wblut.geom.WB_Frame.WB_Frame ( final int  points[][],
final int  connections[][] 
)
Parameters
points
connections
wblut.geom.WB_Frame.WB_Frame ( final WB_Coord[]  points)
Parameters
points
wblut.geom.WB_Frame.WB_Frame ( final Collection<?extends WB_Coord points)
Parameters
points
wblut.geom.WB_Frame.WB_Frame ( final double  points[][])
Parameters
points
wblut.geom.WB_Frame.WB_Frame ( final float  points[][])
Parameters
points
wblut.geom.WB_Frame.WB_Frame ( final int  points[][])
Parameters
points

Member Function Documentation

void wblut.geom.WB_Frame.add ( final WB_Coord[]  points,
final Collection< WB_IndexedSegment connections 
)
Parameters
points
connections
void wblut.geom.WB_Frame.add ( final WB_Frame  frame)
Parameters
frame
int wblut.geom.WB_Frame.addNode ( final double  x,
final double  y,
final double  z,
final double  v 
)
Parameters
x
y
z
v
Returns
int wblut.geom.WB_Frame.addNode ( final WB_Coord  pos,
final double  v 
)
Parameters
pos
v
Returns
int wblut.geom.WB_Frame.addNodes ( final Collection< WB_Coord pos)
Parameters
pos
Returns
boolean wblut.geom.WB_Frame.addStrut ( final int  i,
final int  j 
)
Parameters
i
j
Returns
int wblut.geom.WB_Frame.getClosestNodeOnFrame ( final WB_Coord  p)
Parameters
p
Returns
WB_Coord wblut.geom.WB_Frame.getClosestPointOnFrame ( final WB_Coord  p)
Parameters
p
Returns
WB_Coord wblut.geom.WB_Frame.getClosestPointOnFrame ( final double  x,
final double  y,
final double  z 
)
Parameters
x
y
z
Returns
double wblut.geom.WB_Frame.getDistanceToFrame ( final WB_Coord  p)
Parameters
p
Returns
double wblut.geom.WB_Frame.getDistanceToFrame ( final double  x,
final double  y,
final double  z 
)
Parameters
x
y
z
Returns
ArrayList<WB_IndexedSegment> wblut.geom.WB_Frame.getIndexedSegments ( )
Returns
WB_FrameNode wblut.geom.WB_Frame.getNode ( final int  i)
Parameters
i
Returns
ArrayList<WB_FrameNode> wblut.geom.WB_Frame.getNodes ( )
Returns
int wblut.geom.WB_Frame.getNumberOfNodes ( )
Returns
int wblut.geom.WB_Frame.getNumberOfStruts ( )
Returns
ArrayList<WB_Point> wblut.geom.WB_Frame.getPoints ( )
Returns
WB_Point [] wblut.geom.WB_Frame.getPointsAsArray ( )
Returns
ArrayList<WB_Segment> wblut.geom.WB_Frame.getSegments ( )
Returns
WB_FrameStrut wblut.geom.WB_Frame.getStrut ( final int  i)
Parameters
i
Returns
ArrayList<WB_FrameStrut> wblut.geom.WB_Frame.getStruts ( )
Returns
WB_Frame wblut.geom.WB_Frame.refine ( final double  threshold)
Parameters
threshold
Returns
void wblut.geom.WB_Frame.removeNode ( final WB_FrameNode  node)
Parameters
node
void wblut.geom.WB_Frame.removeStrut ( final WB_FrameStrut  strut)
Parameters
strut
WB_Frame wblut.geom.WB_Frame.smoothBiNodes ( )
Returns
WB_Frame wblut.geom.WB_Frame.smoothNodes ( )
Returns
List<WB_Point> wblut.geom.WB_Frame.toPointCloud ( final int  n,
final double  r,
final double  d,
final int  l,
final double  rr,
final double  dr 
)
Parameters
n
r
d
l
rr
dr
Returns

Member Data Documentation

WB_GeometryFactory wblut.geom.WB_Frame.gf = WB_GeometryFactory.instance()
staticprivate
FastTable<WB_FrameNode> wblut.geom.WB_Frame.nodes
protected
FastTable<WB_FrameStrut> wblut.geom.WB_Frame.struts
protected

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