BowlerKernel
Public Member Functions | Private Attributes | List of all members
eu.mihosoft.vrl.v3d.Isosceles Class Reference
Inheritance diagram for eu.mihosoft.vrl.v3d.Isosceles:
Inheritance graph
[legend]
Collaboration diagram for eu.mihosoft.vrl.v3d.Isosceles:
Collaboration graph
[legend]

Public Member Functions

PropertyStorage getProperties ()
 
 Isosceles (double w, double h, double d)
 
List< PolygontoPolygons ()
 
- Public Member Functions inherited from eu.mihosoft.vrl.v3d.Primitive
CSG toCSG ()
 

Private Attributes

final PropertyStorage properties = new PropertyStorage()
 

Detailed Description

Definition at line 5 of file Isosceles.java.

Constructor & Destructor Documentation

◆ Isosceles()

eu.mihosoft.vrl.v3d.Isosceles.Isosceles ( double  w,
double  h,
double  d 
)

Constructor. Creates a new cuboid with center

[0,0,0]

and with the specified dimensions.

Parameters
wwidth
hheight
ddepth

Definition at line 23 of file Isosceles.java.

Member Function Documentation

◆ getProperties()

PropertyStorage eu.mihosoft.vrl.v3d.Isosceles.getProperties ( )

Returns the property storage of this primitive.

Returns
the property storage of this primitive

Reimplemented from eu.mihosoft.vrl.v3d.Primitive.

Definition at line 11 of file Isosceles.java.

References eu.mihosoft.vrl.v3d.Isosceles.properties.

◆ toPolygons()

List<Polygon> eu.mihosoft.vrl.v3d.Isosceles.toPolygons ( )

Returns the polygons that define this primitive.

Note: this method computes the polygons each time this method is called. The polygons can be cached inside a CSG object.

Returns
a list of polygons that define this primitive

Reimplemented from eu.mihosoft.vrl.v3d.Primitive.

Definition at line 36 of file Isosceles.java.

References eu.mihosoft.vrl.v3d.CSG.getPolygons(), eu.mihosoft.vrl.v3d.Extrude.points(), eu.mihosoft.vrl.v3d.CSG.roty(), and eu.mihosoft.vrl.v3d.CSG.rotz().

Here is the call graph for this function:

Member Data Documentation

◆ properties

final PropertyStorage eu.mihosoft.vrl.v3d.Isosceles.properties = new PropertyStorage()
private

The properties.

Definition at line 9 of file Isosceles.java.

Referenced by eu.mihosoft.vrl.v3d.Isosceles.getProperties().


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