MCPcopy Create free account
hub / github.com/NatLabRockies/OpenStudio / getReferencePoints

Method getReferencePoints

src/radiance/ForwardTranslator.cpp:740–755  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

738 }
739
740 openstudio::Point3dVector ForwardTranslator::getReferencePoints(const openstudio::model::IlluminanceMap& map) {
741 Transformation buildingTransformation;
742 OptionalBuilding building = map.model().getOptionalUniqueModelObject<Building>();
743 if (building) {
744 buildingTransformation = building->transformation();
745 }
746
747 Transformation spaceTransformation;
748 OptionalSpace space = map.space();
749 if (space) {
750 spaceTransformation = space->transformation();
751 }
752
753 // convert vertices to absolute coordinates
754 return buildingTransformation * spaceTransformation * map.transformation() * map.referencePoints();
755 }
756
757 openstudio::Vector3d ForwardTranslator::getSensorVector(const openstudio::model::IlluminanceMap& map) {
758 Transformation buildingTransformation;

Callers

nothing calls this directly

Calls 4

referencePointsMethod · 0.80
modelMethod · 0.45
transformationMethod · 0.45
spaceMethod · 0.45

Tested by

no test coverage detected